@DataProvider(value = {

    "true",
    "false"
}, splitBy = "\\|")
@Test
public void empty_builder_results_in_default_circuit_breaker(boolean useFactoryMethod) {
    // given
    CircuitBreakerImpl.Builder<Integer> builder = (useFactoryMethod)
                                                  ? CircuitBreakerImpl.newBuilder()
                                                  : new CircuitBreakerImpl.Builder<>();
    // when
    CircuitBreakerImpl<Integer> cb = builder.build();
    // then
    verifyDefaultsForEverything(cb);
}