protected void assertConfig(String correctFileName, QueryProfileRegistry check) throws IOException {
        assertSerializedConfigFileEquals(root + "/" + correctFileName,
                com.yahoo.text.StringUtilities.implodeMultiline(com.yahoo.config.ConfigInstance.serialize(new QueryProfiles(check, new SilentDeployLogger()).getConfig())));
    }
Tests generation of config from query profiles (XML reading is tested elsewhere)

@author bratseth
config-model/src/test/java/com/yahoo/vespa/model/container/search/test/QueryProfilesTestCase.java