assertFalse(matcher.matches(Paths.get("com/jboss/foo.jar")));
}
@Test
public void testComplete() {
PathMatcher matcher = Matchers.parse("log:mvn:groupId:org.apache,org.foo and glob:**/*.jar and not **example**");
assertFalse(matcher.matches(Paths.get("org")));
assertFalse(matcher.matches(Paths.get("org/apache")));
assertTrue(matcher.matches(Paths.get("org/apache/foo.jar")));
assertFalse(matcher.matches(Paths.get("org/foo")));
assertTrue(matcher.matches(Paths.get("org/foo/foo/bar.jar")));
assertFalse(matcher.matches(Paths.get("org/foo/foo/bar.xml")));
assertFalse(matcher.matches(Paths.get("org/foo/example/bar.jar")));
assertFalse(matcher.matches(Paths.get("io/fabric8")));
assertFalse(matcher.matches(Paths.get("io/fabric8/foo.jar")));
assertFalse(matcher.matches(Paths.get("io/fabric8/foo.jar")));
}