@Test
public void testOriginalsWithPrefix() {

    Properties props = new Properties();
    props.put("foo.bar", "abc");
    props.put("setting", "def");
    TestConfig config = new TestConfig(props);
    Map<String, Object> expected = new HashMap<>();
    expected.put("bar", "abc");
    assertEquals(expected, config.originalsWithPrefix("foo."));
}