private static RemoteRequestPrincipalAttributesExtractor getExtractor(final Map<String, String> patterns) {
        return new DefaultRemoteRequestPrincipalAttributesExtractor(patterns);
    }
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