/**
* Test that the circuit-breaker is different between HystrixCommand objects with a different Hystrix.
*/
@Test
public void testCircuitBreakerAcrossMultipleCommandsAndDifferentDependency() {
TestCircuitBreaker circuitBreaker_one = new TestCircuitBreaker();
TestCircuitBreaker circuitBreaker_two = new TestCircuitBreaker();
/* fail 3 times, twice on one Hystrix, once on a different Hystrix ... circuit-breaker should NOT open */
// failure 1
KnownFailureTestCommandWithFallback attempt1 = new KnownFailureTestCommandWithFallback(circuitBreaker_one);
attempt1.observe().toBlocking().single();