CircuitBreakerFactory { public CircuitBreaker findCircuitBreaker(String name) { return circuitBreakerMap.get(name); }  synchronized CircuitBreaker createCircuitBreaker(String name,
            CircuitBreakerConfig config); void setProperties(Properties properties); CircuitBreaker findCircuitBreaker(String name); Set<String> getCircuitBreakerNames(); static final String CONFIG_KEY_PREFIX; static final String LIMIT_KEY; static final String WINDOWMILLIS_KEY; static final String RESETMILLIS_KEY; }
@Test public void testFindNonExistentCircuitBreaker() { CircuitBreaker foundBreaker = factory.findCircuitBreaker("testNonExistent"); assertNull(foundBreaker); }