    @Test
    void testMatchesInfixPartitionedString_ignoreCase() {

        final WildcardMatcher matcher = buildMatcher("*foo*");
        assertSoftly(softly -> {
            // no allocations necessary
            softly.assertThat(matcher.matches("foo", "BAR")).isTrue();
            softly.assertThat(matcher.matches("BAR", "foo")).isTrue();
            softly.assertThat(matcher.matches("baRFoo", "baz")).isTrue();
            softly.assertThat(matcher.matches("bA", "Rfoo")).isTrue();
            softly.assertThat(matcher.matches("fo", "O")).isTrue();
            softly.assertThat(matcher.matches("barFO", "obaz")).isTrue();
            softly.assertThat(matcher.matches("bar", "baz")).isFalse();});
    }