@Test
    void verifyOperation() {
        val extractor = getExtractor(Map.of("AJP_(.+)", "^@.+_(.+);"));
        val request = new MockHttpServletRequest();
        request.addHeader("AJP_CAS", "@SSO_OSS;");
        request.addHeader("AJP_SYS", "@SYS_APEREO;");
        val results = extractor.getAttributes(request);
        assertEquals(2, results.size());
        assertTrue(results.containsKey("SYS"));
        assertTrue(results.containsKey("CAS"));
        assertEquals(results.get("SYS"), List.of("APEREO"));
        assertEquals(results.get("CAS"), List.of("OSS"));
    }
This is {@link DefaultRemoteRequestPrincipalAttributesExtractorTests}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-trusted/src/test/java/org/apereo/cas/adaptors/trusted/authentication/principal/DefaultRemoteRequestPrincipalAttributesExtractorTests.java