public static String createClusterXml(String groupXml, Optional<String> dispatchXml, int redundancy, int searchableCopies) {
        return new ContentClusterBuilder().
                groupXml(groupXml).
                dispatchXml(dispatchXml).
                redundancy(redundancy).
                searchableCopies(searchableCopies).getXml();
    }
For testing purposes only.

@author geirst
config-model/src/test/java/com/yahoo/vespa/model/content/utils/ContentClusterUtils.java