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