void (@NonNls String pattern, @NonNls String name1, @NonNls String name2, NameUtil.MatchingCaseSensitivity sensitivity) { MinusculeMatcher matcher = NameUtil.buildMatcher(pattern, sensitivity); assertEquals(matcher.matchingDegree(name1), matcher.matchingDegree(name2)); }