static MockModel createConfigProxies(List<String> hostnames, int rpcPort) {
        Set<HostInfo> hostInfos = new HashSet<>();
        hostnames.forEach(hostname -> {
            ServiceInfo configProxy = createServiceInfo(hostname, "configproxy", "configproxy",
                                            ClusterSpec.Type.admin, rpcPort, "rpc");
            hostInfos.add(new HostInfo(hostname, List.of(configProxy)));
        });
        return new MockModel(hostInfos);
    }
Model with two services, one that does not have a state port

@author hakonhall
configserver/src/test/java/com/yahoo/vespa/config/server/application/MockModel.java