@Test
public void testCreateJsonFromConfig() throws JSONException {

    ElasticConnectionPoolConfigurationPublisher publisher =
            new ElasticConnectionPoolConfigurationPublisher("ClientApp", "dyno_cluster_1", "unit-test-vip", config);
    JSONObject json = publisher.createJsonFromConfig(config);
    assertTrue(json.has("ApplicationName"));
    assertTrue(json.has("DynomiteClusterName"));
    assertTrue(json.has("MaxConnsPerHost"));
}