@Test
public void unhealthyAsyncHealthCheckTriggersSuccessfulInstantiationWithUnhealthyState() throws Exception {

    HealthCheck asyncHealthCheck = new UnhealthyAsyncHealthCheck();
    AsyncHealthCheckDecorator asyncDecorator = new AsyncHealthCheckDecorator(asyncHealthCheck, mockExecutorService);
    assertThat(asyncDecorator.check().isHealthy()).isFalse();
}