@Override
    public CircuitBreaker circuitBreaker(String name) {
        return circuitBreaker(name, getDefaultConfig());
    }
@Test
    public void testCreateCircuitBreakerWithSharedConfiguration() {
        CircuitBreakerRegistry circuitBreakerRegistry = CircuitBreakerRegistry.ofDefaults();
        circuitBreakerRegistry.addConfiguration("testConfig", CircuitBreakerConfig.ofDefaults());

        final CircuitBreaker circuitBreaker = circuitBreakerRegistry
            .circuitBreaker("circuitBreaker",
                circuitBreakerRegistry.getConfiguration("testConfig").get());

        assertThat(circuitBreaker).isNotNull();
    }