@Test
    void verifyMutantPatternValues() {
        this.filter.setPatterns(Map.of("memberOf",
            CollectionUtils.wrapList("^mar(.+)(101) -> prefix$1$2",
                "^mat(.+)(101) -> postfix$1$2")));
        this.filter.setCaseInsensitive(false);
        this.filter.setExcludeUnmappedAttributes(true);
        val results = filter.filter(this.givenAttributesMap);
        assertEquals(1, results.size());
        val values = (Collection) results.get("memberOf");
        assertTrue(values.contains("prefixathon101"));
        assertTrue(values.contains("postfixh101"));
    }
This is {@link RegisteredServiceMutantRegexAttributeFilterTests}.

@author Misagh Moayyed
@since 5.3.0
core/cas-server-core-services/src/test/java/org/apereo/cas/services/support/RegisteredServiceMutantRegexAttributeFilterTests.java