@Test
public void default_exception_strategy_works_as_expected() {

    // given
    BreakingExceptionStrategy dm = CircuitBreakerImpl.DEFAULT_BREAKING_EXCEPTION_STRATEGY;
    // expect
    assertThat(dm.isExceptionACircuitBreakerFailure(new Throwable())).isTrue();
    assertThat(dm.isExceptionACircuitBreakerFailure(new Exception())).isTrue();
    assertThat(dm.isExceptionACircuitBreakerFailure(new RuntimeException())).isTrue();
    assertThat(dm.isExceptionACircuitBreakerFailure(null)).isTrue();
}