protected JsonObject loadJsonObjectFromResources(JsonNode config, String name) {
        ClassLoader classLoader = getClass().getClassLoader();
        String configPath = config.get(name).asText();
        String conf;
        String fPath;
        File file;
        try {
            fPath = URLDecoder.decode(classLoader.getResource(configPath).getFile(), StandardCharsets.UTF_8.name());
            file = new File(fPath);
            conf = new String(Files.readAllBytes(file.toPath()));
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
        return new JsonObject(conf);
    }
Loads the vertx3 config from a resource

@param config the config to be read
@param name the element of the config to be read
@return the vertx3 config as jsonObject
gateway/test/src/test/java/io/apiman/gateway/test/junit/vertx3/Vertx3GatewayHelper.java