### Question:
WildcardUtils { public static boolean matchPath(String pattern, String path) { return PATH_MATCHER.matches(pattern, path); }  static boolean matchPath(String pattern, String path); static boolean matchString(String pattern, String str); static List<LinearRange> getLiteralRanges(String pattern); @Nullable static PatternApplied applyPattern(String pattern, String str, boolean caseSensitive); @Nullable static LinearRange rangeOfMatch(String pattern, String str);  }### Answer:
@Test public void shouldMatchPath() { assertTrue(matchPath("**/*.java", "com/example/test.c")); assertFalse(matchPath("com*.java", "src/com/example/Test.java")); assertFalse(matchPath("/src*.java", "src/com/example/Test.java")); assertFalse(matchPath("src }