public void setAllDummyNodesAsUp() {
        for (ApplicationInstance app : DummyServiceMonitor.getApplications()) {
            Set<HostName> hosts = DummyServiceMonitor.getContentHosts(app.reference());
            for (HostName host : hosts) {
                ClusterId clusterName = VespaModelUtil.getContentClusterName(app, host);
                int storageNodeIndex = VespaModelUtil.getStorageNodeIndex(app, host);
                String globalMapKey = clusterName + "/" + ContentService.STORAGE_NODE.nameInClusterController() + "/" + storageNodeIndex;
                nodes.put(globalMapKey, ClusterControllerNodeState.UP);
            }
        }
    }
Mock implementation of ClusterControllerClient
<p>

@author smorgrav
orchestrator/src/test/java/com/yahoo/vespa/orchestrator/controller/ClusterControllerClientFactoryMock.java