@Test
public void testDynamicUpdates() {

    configuration.setProperty("object.a.pattern", "a");
    configuration.setProperty("object.a.limit", "200");
    assertThat(resolver.resolve(new MyObject("a")).getLimit()).isEqualTo(200);
    configuration.setProperty("object.a.limit", "300");
    assertThat(resolver.resolve(new MyObject("a")).getLimit()).isEqualTo(300);
    configuration.clearProperty("object.a.pattern");
    assertThat(resolver.resolve(new MyObject("a")).getLimit()).isEqualTo(100);
}