void () { GlobPatternDescriptor entry = new GlobPatternDescriptor("*.java"); assertTrue(entry.matches(createFile("src/test.java"))); assertFalse(entry.matches(createFile("src/test.txt"))); assertTrue(entry.matches(createFile("file3.java"))); }