@Test
public void testVerifyRootName() throws Exception {

    Map<String, String> properties = asMap(
            "my", "valueA",
            "your.x", "valueX",
            "their.y", "valueY"
    );
    List<String> notMatching = PropertiesExt.verifyRootNames(properties, asSet("my", "your"));
    assertThat(notMatching).containsExactly("their.y");
}