@Test
public void testGetStatusWhenOpenAfterReset() {

    impl.state = CircuitBreaker.BreakerState.OPEN;
    impl.resetMillis.set(1000);
    impl.lastFailure.set(System.currentTimeMillis() - 2000);
    assertEquals(Status.DEGRADED, impl.getStatus());
}