@Test
public void testObjectOverrides() {

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