@Test
    public void connectorNestedConfig() {
        String jsonStr = " { \"connector-factory\": {\n" +
                "    \"class\": \"io.apiman.gateway.platforms.vertx3.connector.ConnectorFactory\",\n" +
                "    \"config\": {\n" +
                "      \"tls\": {\n" +
                "        \"allowSelfSigned\": true,\n" +
                "        \"devMode\": true,\n" +
                "        \"trustStore\": \"/path/to/your/truststore.jks\",\n" +
                "        \"keyStore\": \"/path/to/your/keystore.jks\",\n" +
                "        \"keyStorePassword\": \"abc123\"\n" +
                "      }\n" +
                "    }\n" +
                "  }}";

        JsonObject jsonObject = new JsonObject(jsonStr);

        @SuppressWarnings("serial")
        Map<String, String> expected = new LinkedHashMap<String, String>(){{
            put("tls.allowSelfSigned", "true");
            put("tls.devMode", "true");
            put("tls.trustStore", "/path/to/your/truststore.jks");
            put("tls.keyStore", "/path/to/your/keystore.jks");
            put("tls.keyStorePassword", "abc123");
        }};

        VertxEngineConfig config = new VertxEngineConfig(jsonObject);
        Assert.assertThat(config.getConnectorFactoryConfig(), is(expected));
    }
Test config loading

@author Marc Savy {@literal <msavy@redhat.com>}
gateway/platforms/vertx3/vertx3/src/test/java/io/apiman/gateway/platforms/vertx3/common/config/ConfigTest.java