### Question:
ServiceHealthManagerDefault implements ServiceHealthManager { @Override public boolean isOk() { serviceQueue.ifEmpty(this::loadIfEmpty); if (serviceQueue.isPresent()) { return !serviceQueue.get().failing(); } else { logger.warn("Service Queue was not found, but isOk() was called on ServiceHealthManager"); return true; } } ServiceHealthManagerDefault(final Runnable failCallback,
                                       final Runnable recoverCallback); @Override boolean isFailing(); @Override boolean isOk(); @Override void setFailing(); @Override void recover();  }### Answer:
@Test public void testIsOk() throws Exception { BaseServiceQueueImpl.serviceThreadLocal.set(ServiceBuilder.serviceBuilder().setServiceObject(new Object()).build()); ServiceHealthManagerDefault serviceHealthManagerDefault = new ServiceHealthManagerDefault(null, null); serviceHealthManagerDefault.recover(); assertTrue(serviceHealthManagerDefault.isOk()); serviceHealthManagerDefault.setFailing(); assertFalse(serviceHealthManagerDefault.isOk()); serviceHealthManagerDefault = new ServiceHealthManagerDefault(null, null); BaseServiceQueueImpl.serviceThreadLocal.set(null); serviceHealthManagerDefault.recover(); assertTrue(serviceHealthManagerDefault.isOk()); }