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