public void testIncrementalPollingSource() throws Exception {
BaseConfiguration config = new BaseConfiguration();
DynamicPropertyFactory.initWithConfigurationSource(config);
DynamicStringProperty prop1 = new DynamicStringProperty("prop1", null);
DynamicStringProperty prop2 = new DynamicStringProperty("prop2", null);
config.addProperty("prop1", "original");
DummyPollingSource source = new DummyPollingSource(true);
FixedDelayPollingScheduler scheduler = new FixedDelayPollingScheduler(0, 10, true);
scheduler.setIgnoreDeletesFromSource(false);
// ConfigurationWithPollingSource pollingConfig = new ConfigurationWithPollingSource(config, source,scheduler);
scheduler.startPolling(source, config);