public static MockRoot createMockRoot(HostProvisioner provisioner, List<String> schemas, DeployState.Builder deployStateBuilder) {
        ApplicationPackage applicationPackage = new MockApplicationPackage.Builder().withSchemas(schemas).build();
        DeployState deployState = deployStateBuilder.applicationPackage(applicationPackage)
                          .modelHostProvisioner(provisioner)
                          .build();
        return new MockRoot("", deployState);
    }
For testing purposes only.

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