@Test public void testlogHealthNotReady() throws InterruptedException { integrationLogging.logHealth(); assertTrue(executeHealthcheck.get()); verify(compositeHealthEndpoint, times(0)).invoke(); }
public void logHealth() { if (ready.get()) { logHealthCheck(); } else { this.executeHealthcheck.compareAndSet(false, true); } }
IntegrationLogging { public void logHealth() { if (ready.get()) { logHealthCheck(); } else { this.executeHealthcheck.compareAndSet(false, true); } } }
IntegrationLogging { public void logHealth() { if (ready.get()) { logHealthCheck(); } else { this.executeHealthcheck.compareAndSet(false, true); } }  }
IntegrationLogging { public void logHealth() { if (ready.get()) { logHealthCheck(); } else { this.executeHealthcheck.compareAndSet(false, true); } }  void logIntegration(Integration integration); void logHealth(); void ready(); }
IntegrationLogging { public void logHealth() { if (ready.get()) { logHealthCheck(); } else { this.executeHealthcheck.compareAndSet(false, true); } }  void logIntegration(Integration integration); void logHealth(); void ready();  }