private static String getServices(int redundancy, int nodes, int groups) {
        return "<services version='1.0'>" +
               "  <content id='contentClusterId' version='1.0'>" +
               "    <redundancy>" + redundancy + "</redundancy>" +
               "    <engine>" +
               "    <proton/>" +
               "    </engine>" +
               "    <documents>" +
               "      <document type='music' mode='index'/>" +
               "    </documents>" +
               "    <nodes count='" + nodes + "' groups='" + groups + "'/>" +
               "   </content>" +
               "</services>";
    }
Emulate a self-hosted setup in only the sense that it does not set node resources on the provisioned hosts.
config-model/src/test/java/com/yahoo/vespa/model/application/validation/change/ResourcesReductionValidatorTest.java