public static Builder custom() {
        return new Builder();
    }
@Test(expected = IllegalArgumentException.class)
    public void maxWaitDurationInHalfOpenStateLessThanSecondShouldFail() {
        custom().maxWaitDurationInHalfOpenState(Duration.ofMillis(-1)).build();
    }