### Question:
WildcardMatcher { @Nullable public static WildcardMatcher anyMatch(List<WildcardMatcher> matchers, @Nullable CharSequence s) { if (s == null) { return null; } return anyMatch(matchers, s, null); }  static WildcardMatcher caseSensitiveMatcher(String matcher); static WildcardMatcher matchAll(); static List<WildcardMatcher> matchAllList(); static WildcardMatcher valueOf(final String wildcardString); static boolean isAnyMatch(List<WildcardMatcher> matchers, @Nullable CharSequence s); static boolean isNoneMatch(List<WildcardMatcher> matchers, @Nullable CharSequence s); @Nullable static WildcardMatcher anyMatch(List<WildcardMatcher> matchers, @Nullable CharSequence s); @Nullable static WildcardMatcher anyMatch(List<WildcardMatcher> matchers, CharSequence firstPart, @Nullable CharSequence secondPart); static int indexOfIgnoreCase(final CharSequence haystack1, final CharSequence haystack2, final String needle, final boolean ignoreCase, final int start, final int end); abstract boolean matches(CharSequence s); abstract boolean matches(CharSequence firstPart, @Nullable CharSequence secondPart); @Override boolean equals(Object obj); abstract String getMatcher(); static final String DOCUMENTATION; }### Answer:
@Test void testMatchAnyStartsWith() { final WildcardMatcher matcher1 = buildMatcher("foo*"); final WildcardMatcher matcher2 = buildMatcher("bar*"); assertSoftly(softly -> { softly.assertThat(WildcardMatcher.anyMatch(Arrays.asList(matcher1, matcher2), "foo")).isEqualTo(matcher1); softly.assertThat(WildcardMatcher.anyMatch(Arrays.asList(matcher1, matcher2), "bar")).isEqualTo(matcher2); softly.assertThat(WildcardMatcher.anyMatch(Arrays.asList(matcher1, matcher2), "baz")).isNull(); softly.assertThat(WildcardMatcher.anyMatch(Arrays.asList(matcher1, matcher2), "fo", "o")).isEqualTo(matcher1); softly.assertThat(WildcardMatcher.anyMatch(Arrays.asList(matcher1, matcher2), "ba", "r")).isEqualTo(matcher2); softly.assertThat(WildcardMatcher.anyMatch(Arrays.asList(matcher1, matcher2), "ba", "z")).isNull(); }); }