2223242526272829303132
public class ExitCommandTest extends TestCase { public final void testExecute() { ExitCommand exit = new ExitCommand(); try { exit.execute(null); fail(); } catch (TerminatedApplicationException e) { } }