@Test
public void testBooleanInstanceDynamicOverrideOfEverything() throws Exception {

    HystrixCommandProperties properties = new TestPropertiesCommand(TestKey.TEST,
            new HystrixCommandProperties.Setter().withCircuitBreakerForceClosed(false), "unitTestPrefix");
    ConfigurationManager.getConfigInstance().setProperty("unitTestPrefix.command.default.circuitBreaker.forceClosed", false);
    ConfigurationManager.getConfigInstance().setProperty("unitTestPrefix.command.TEST.circuitBreaker.forceClosed", true);
    // the instance specific dynamic property should take precedence over everything
    assertEquals(true, properties.circuitBreakerForceClosed().get());
    // cleanup 
    ConfigurationManager.getConfigInstance().clearProperty("unitTestPrefix.command.default.circuitBreaker.forceClosed");
    ConfigurationManager.getConfigInstance().clearProperty("unitTestPrefix.command.TEST.circuitBreaker.forceClosed");
}