### Question:
ExitCommandInterpreter implements CommandInterpreter { @Override public String getSynopsis() { return "exit Rulewerk shell"; } ExitCommandInterpreter(final Shell shell); @Override void printHelp(final String commandName, final Interpreter interpreter); @Override String getSynopsis(); @Override void run(final Command command, final org.semanticweb.rulewerk.commands.Interpreter interpreter); static final Command EXIT_COMMAND; }### Answer:
@Test public void synopsis_succeeds() throws ParsingException, CommandExecutionException { final Shell shellMock = Mockito.mock(Shell.class); final CommandInterpreter commandInterpreter = new ExitCommandInterpreter(shellMock); final String synopsis = commandInterpreter.getSynopsis(); assertTrue(synopsis.length() < 70); }