@Test (expected = MissingConfigurationException.class) public void testBlankURL() throws RemoteApiException { agentApiClient.getBasePath(); }
@Override protected String getBasePath() { String url = properties.getAgentUrl(); if (StringUtils.isBlank(url)) { String message = logMessage.getMessage(MISSING_CONFIG_FILE, REQUIRED_KEY); String solution = logMessage.getMessage(MISSING_CONFIG_FILE_SOLUTION, REQUIRED_KEY); throw new MissingConfigurationException(SERVICE_NAME.toString(), message, solution); } return url; }
AgentApiClient extends SymphonyApiClient { @Override protected String getBasePath() { String url = properties.getAgentUrl(); if (StringUtils.isBlank(url)) { String message = logMessage.getMessage(MISSING_CONFIG_FILE, REQUIRED_KEY); String solution = logMessage.getMessage(MISSING_CONFIG_FILE_SOLUTION, REQUIRED_KEY); throw new MissingConfigurationException(SERVICE_NAME.toString(), message, solution); } return url; } }
AgentApiClient extends SymphonyApiClient { @Override protected String getBasePath() { String url = properties.getAgentUrl(); if (StringUtils.isBlank(url)) { String message = logMessage.getMessage(MISSING_CONFIG_FILE, REQUIRED_KEY); String solution = logMessage.getMessage(MISSING_CONFIG_FILE_SOLUTION, REQUIRED_KEY); throw new MissingConfigurationException(SERVICE_NAME.toString(), message, solution); } return url; } AgentApiClient(); }
AgentApiClient extends SymphonyApiClient { @Override protected String getBasePath() { String url = properties.getAgentUrl(); if (StringUtils.isBlank(url)) { String message = logMessage.getMessage(MISSING_CONFIG_FILE, REQUIRED_KEY); String solution = logMessage.getMessage(MISSING_CONFIG_FILE_SOLUTION, REQUIRED_KEY); throw new MissingConfigurationException(SERVICE_NAME.toString(), message, solution); } return url; } AgentApiClient();  }
AgentApiClient extends SymphonyApiClient { @Override protected String getBasePath() { String url = properties.getAgentUrl(); if (StringUtils.isBlank(url)) { String message = logMessage.getMessage(MISSING_CONFIG_FILE, REQUIRED_KEY); String solution = logMessage.getMessage(MISSING_CONFIG_FILE_SOLUTION, REQUIRED_KEY); throw new MissingConfigurationException(SERVICE_NAME.toString(), message, solution); } return url; } AgentApiClient();   }