// will not affect metrics
assertTrue(activateUserCommand.getExecutionEvents().contains(HystrixEventType.FAILURE));
assertTrue(activateUserCommand.getExecutionEvents().contains(HystrixEventType.FALLBACK_SUCCESS));
// and will not trigger fallback logic
verify(failoverService, atLeastOnce()).activate();
context.shutdown();
}
}
@Test(expected = HystrixRuntimeException.class)
public void testBlockUser() throws NotFoundException, ActivationException, OperationException {