@@ -0,0 +1,792 @@
+package jfdi.test.logic.commands;%0A%0Aimport jfdi.logic.commands.ExitCommand;%0Aimport jfdi.logic.events.ExitCalledEvent;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.mockito.runners.MockitoJUnitRunner;%0A%0Aimport static org.mockito.Mockito.*;%0A%0A/**%0A * @author Liu Xinan%0A */%0A@RunWith(MockitoJUnitRunner.class)%0Apublic class ExitCommandTest extends CommonCommandTest %7B%0A%0A    @Test%0A    public void execute() throws Exception %7B%0A        ExitCommand command = new ExitCommand.Builder().build();%0A%0A        command.execute();%0A%0A        verify(eventBus).post(any(ExitCalledEvent.class));%0A    %7D%0A%0A    @Test%0A    public void undo() throws Exception %7B%0A        ExitCommand command = new ExitCommand.Builder().build();%0A%0A        thrown.expect(AssertionError.class);%0A        command.undo();%0A    %7D%0A%0A%7D%0A

Add test for `ExitCommand`