@Test
public void testGetCircuitBreakerNames() {

    Set<String> testSet = new HashSet<String>();
    testSet.add("one");
    testSet.add("two");
    testSet.add("three");
    testSet.add("four");
    factory.createCircuitBreaker("one", config);
    factory.createCircuitBreaker("two", config);
    factory.createCircuitBreaker("three", config);
    factory.createCircuitBreaker("four", config);
    Set<String> monitorNames = factory.getCircuitBreakerNames();
    assertEquals(testSet, monitorNames);
}