public void Returns_False_If_AppSetting_Is_Not_A_Valid_Boolean()
            {
                var hystrixCommandIdentifier    = new HystrixCommandIdentifier("GroupC", "DependencyZ");
                var hystrixConfigurationService = new HystrixWebConfigConfigurationService(hystrixCommandIdentifier);

                // act
                bool value = hystrixConfigurationService.GetCircuitBreakerForcedClosed();

                Assert.Equal(false, value);
            }
            public void Returns_False_If_AppSetting_Does_Not_Exist()
            {
                var hystrixCommandIdentifier    = new HystrixCommandIdentifier("NonExistingGroup", "NonExistingCommand");
                var hystrixConfigurationService = new HystrixWebConfigConfigurationService(hystrixCommandIdentifier);

                // act
                bool value = hystrixConfigurationService.GetCircuitBreakerForcedClosed();

                Assert.Equal(false, value);
            }
            public void Returns_GetCircuitBreakerForcedClosed_AppSetting_As_Boolean_For_GroupB_And_DependencyY()
            {
                var hystrixCommandIdentifier    = new HystrixCommandIdentifier("GroupB", "DependencyY");
                var hystrixConfigurationService = new HystrixWebConfigConfigurationService(hystrixCommandIdentifier);

                // act
                bool value = hystrixConfigurationService.GetCircuitBreakerForcedClosed();

                Assert.Equal(false, value);
            }