@Test
public void testClosedAfter2FailuresAndWait() {

    LOGGER.info("Test: expect status is CLOSED after two failures and waiting longer than the initial duration");
    // Trigger the circuit breaker to open
    this.markTwoFailures();
    // Wait until the circuit breaker is closed
    this.wait(35);
    assertThat(this.circuitBreaker.isClosed()).withFailMessage("Status should be CLOSED after waiting for 35 ms")
            .isTrue();
}