public void testSetCircuitBreakerFactory() throws Throwable {
ProceedingJoinPoint mockPjp = createPjpMock(mockSignature, 1);
expect(mockPjp.proceed()).andReturn(null);
replay(mockPjp);
CircuitBreakerFactory factory = new CircuitBreakerFactory();
aspect.setCircuitBreakerFactory(factory);
aspect.monitor(mockPjp, mockAnnotation);
assertSame(factory, aspect.getCircuitBreakerFactory());