@Test
public void testMatches() {

    DMRLocationResolver resolver = new DMRLocationResolver();
    Assert.assertTrue(resolver.matches(DMRNodeLocation.of("/one=*/two=2"), DMRNodeLocation.of("/one=1/two=2")));
    Assert.assertTrue(resolver.matches(DMRNodeLocation.of("/one=1/two=*"), DMRNodeLocation.of("/one=1/two=2")));
    Assert.assertTrue(resolver.matches(DMRNodeLocation.of("/one=*/two=*"), DMRNodeLocation.of("/one=1/two=2")));
    Assert.assertFalse(resolver.matches(DMRNodeLocation.of("/one=1/two=XX"), DMRNodeLocation.of("/one=1/two=2")));
}