@Test
public void testIntegerInstanceBuilderOverrideOfGlobalDynamicOverride() throws Exception {

    HystrixCommandProperties properties = new TestPropertiesCommand(TestKey.TEST,
            new HystrixCommandProperties.Setter().withMetricsRollingStatisticalWindowInMilliseconds(5000), "unitTestPrefix");
    ConfigurationManager.getConfigInstance().setProperty("unitTestPrefix.command.default.rollingStats.timeInMilliseconds", 3456);
    // the builder injected should take precedence over the global dynamic property
    assertEquals(5000, properties.metricsRollingStatisticalWindowInMilliseconds().get().intValue());
    // cleanup 
    ConfigurationManager.getConfigInstance().clearProperty("unitTestPrefix.command.default.rollingStats.timeInMilliseconds");
}