@Test
    void verifyMatch() {
        val filter = new RegisteredServiceReverseMappedRegexAttributeFilter();
        filter.setCompleteMatch(true);
        filter.setPatterns(Map.of("username", "^cas_user$"));
        val attrs = CollectionUtils.<String, List<Object>>wrap("username", List.of("cas-user"));
        assertFalse(filter.filter(attrs).isEmpty());
    }
This is {@link RegisteredServiceReverseMappedRegexAttributeFilterTests}.

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