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