@Override
    public Optional<ApplicationInstance> getApplication(HostName hostname) {
        for (ApplicationInstance app : apps) {
            for (ServiceCluster cluster : app.serviceClusters()) {
                for (ServiceInstance service : cluster.serviceInstances()) {
                    if (hostname.equals(service.hostName())) return Optional.of(app);
                }
            }
        }
        return Optional.empty();
    }
A hardcoded set of applications with one storage cluster with two nodes each.

@author oyving
@author smorgrav
orchestrator/src/test/java/com/yahoo/vespa/orchestrator/DummyServiceMonitor.java