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