@Test public void testName() { EjectCommand command = new EjectCommand(new Shell(), new HashMap<>()); assertThat(command.name(), is("eject")); }
@Override public String name() { return "eject"; }
EjectCommand implements Command { @Override public String name() { return "eject"; } }
EjectCommand implements Command { @Override public String name() { return "eject"; } EjectCommand(Shell shell, Map<String, Object> configuration); }
EjectCommand implements Command { @Override public String name() { return "eject"; } EjectCommand(Shell shell, Map<String, Object> configuration); @Override String name(); @Override Usage usage(); @Override @SuppressWarnings("unchecked") void run(Line line); void httpClient(CloseableHttpClient httpClient); }
EjectCommand implements Command { @Override public String name() { return "eject"; } EjectCommand(Shell shell, Map<String, Object> configuration); @Override String name(); @Override Usage usage(); @Override @SuppressWarnings("unchecked") void run(Line line); void httpClient(CloseableHttpClient httpClient);  }