public static boolean isValidValue(Map<String, Object> serviceSuppliedConfig,
                                     Map<String, Object> clientSuppliedServiceConfig,
                                     String propertyName)
  {
    // prevent clients from violating SLAs as published by the service
    if (propertyName.equals(PropertyKeys.HTTP_REQUEST_TIMEOUT))
    {
      String clientSuppliedTimeout = (String)clientSuppliedServiceConfig.get(propertyName);
      String serviceSuppliedTimeout = (String)serviceSuppliedConfig.get(propertyName);
      try
      {
        return Integer.parseInt(clientSuppliedTimeout) >= Integer.parseInt(serviceSuppliedTimeout);
      }
      catch (NumberFormatException e)
      {
        _log.error("Failed to convert HTTP Request Timeout to an int. clientSuppliedTimeout is " + clientSuppliedTimeout
                       + ". serviceSuppliedTimeout is " + serviceSuppliedTimeout, e);
        return false;
      }
    }
    return true;
  }
@Test
  public void testInvalidHttpRequestTimeout()
  {
    Map<String, Object> serviceSuppliedProperties = new HashMap<>();
    serviceSuppliedProperties.put(PropertyKeys.HTTP_REQUEST_TIMEOUT, "1000");

    Map<String, Object> clientSuppliedProperties = new HashMap<>();
    clientSuppliedProperties.put(PropertyKeys.HTTP_REQUEST_TIMEOUT, "100");

    Assert.assertFalse(ClientServiceConfigValidator.isValidValue(serviceSuppliedProperties,
                                                                clientSuppliedProperties,
                                                                PropertyKeys.HTTP_REQUEST_TIMEOUT));
  }