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