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