@Test(expected = ApplicationException.class) public void testRunCommandServerUnavailable() { CommandManager manager = new CommandManager(SEARCH_COMMAND, getCommandConfiguration(SEARCH_COMMAND), loadServerProperties(PORT)); manager.run(Collections.singletonList(REFERENCE_NAME), new ApplicationOptions()); }
public int run(List<String> arguments, ApplicationOptions options) { commandHandler.parseAndVerifyArguments(arguments, options); return commandHandler.runCommand(); }
CommandManager { public int run(List<String> arguments, ApplicationOptions options) { commandHandler.parseAndVerifyArguments(arguments, options); return commandHandler.runCommand(); } }
CommandManager { public int run(List<String> arguments, ApplicationOptions options) { commandHandler.parseAndVerifyArguments(arguments, options); return commandHandler.runCommand(); } CommandManager(String command, CommandConfiguration configuration,
            Properties serverProperties); }
CommandManager { public int run(List<String> arguments, ApplicationOptions options) { commandHandler.parseAndVerifyArguments(arguments, options); return commandHandler.runCommand(); } CommandManager(String command, CommandConfiguration configuration,
            Properties serverProperties); int run(List<String> arguments, ApplicationOptions options); }
CommandManager { public int run(List<String> arguments, ApplicationOptions options) { commandHandler.parseAndVerifyArguments(arguments, options); return commandHandler.runCommand(); } CommandManager(String command, CommandConfiguration configuration,
            Properties serverProperties); int run(List<String> arguments, ApplicationOptions options); static final String SERVER_URL_PROPERTY; static final String JWT_AUTHENTICATION_TOKEN_PROPERTY; static final String SERVER_VERSION_PROPERTY; static final String GET_EXISTING_INDEX_URL_PROPERTY; }