@Test
public void testIntegerGlobalDynamicOverrideOfCodeDefault() throws Exception {

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