@Override
    public ServiceStatusInfo getStatus(ApplicationId applicationId,
                                       ClusterId clusterId,
                                       ServiceType serviceType,
                                       ConfigId configId) {
        if (wouldNotMonitor(applicationId)) {
            return new ServiceStatusInfo(ServiceStatus.NOT_CHECKED);
        }

        Optional<String> slobrokServiceName = findSlobrokServiceName(serviceType, configId);
        if (slobrokServiceName.isPresent()) {
            synchronized (monitor) {
                SlobrokMonitor slobrokMonitor = slobrokMonitors.get(applicationId);
                if (slobrokMonitor != null && slobrokMonitor.registeredInSlobrok(slobrokServiceName.get())) {
                    return new ServiceStatusInfo(ServiceStatus.UP);
                } else {
                    return new ServiceStatusInfo(ServiceStatus.DOWN);
                }
            }
        } else {
            return new ServiceStatusInfo(ServiceStatus.NOT_CHECKED);
        }
    }
@Test
    public void testGetStatus_NotChecked() {
        assertEquals(ServiceStatus.NOT_CHECKED, getStatus("slobrok"));
        verify(slobrokMonitor, times(0)).registeredInSlobrok(any());
    }