@Test public void testName() { DeployCommand command = new DeployCommand(new Shell(), new HashMap<>(), Paths.get("/path/to/not-found.yml")); assertThat(command.name(), is("deploy")); }
@Override public String name() { return "deploy"; }
DeployCommand implements Command { @Override public String name() { return "deploy"; } }
DeployCommand implements Command { @Override public String name() { return "deploy"; } DeployCommand(Shell shell, Map<String, Object> configuration, Path path); }
DeployCommand implements Command { @Override public String name() { return "deploy"; } DeployCommand(Shell shell, Map<String, Object> configuration, Path path); @Override String name(); @Override Usage usage(); @Override void run(Line line); void cloudFormation(AmazonCloudFormation cloudFormation); void s3(AmazonS3 s3); }
DeployCommand implements Command { @Override public String name() { return "deploy"; } DeployCommand(Shell shell, Map<String, Object> configuration, Path path); @Override String name(); @Override Usage usage(); @Override void run(Line line); void cloudFormation(AmazonCloudFormation cloudFormation); void s3(AmazonS3 s3);  }