@Test
public void testGetStatusWhenOpenBeforeReset() {

    impl.state = CircuitBreaker.BreakerState.CLOSED;
    impl.resetMillis.set(1000);
    impl.lastFailure.set(System.currentTimeMillis() - 50);
    assertEquals(Status.UP, impl.getStatus());
}