@Override
    public String getName() {
        return this.name;
    }
@Test
    public void allCircuitBreakerStatesAllowTransitionToMetricsOnlyMode() {
        for (final CircuitBreaker.State state : CircuitBreaker.State.values()) {
            assertThatNoException().isThrownBy(() -> CircuitBreaker.StateTransition.transitionBetween(circuitBreaker.getName(), state, CircuitBreaker.State.METRICS_ONLY));
        }
    }