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