### Question:
ExitCommand implements Command { @Override public String name() { return "exit"; } ExitCommand(Shell shell); @Override String name(); @Override Usage usage(); @Override void run(Line line);  }### Answer:
@Test public void testName() { ExitCommand command = new ExitCommand(new Shell()); assertThat(command.name(), is("exit")); }