@Test
public void testDynamicUpdates() {

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