public static Stream<Arguments> getTestParameters() {
        return Stream.of(
            /* test with cert with RFC822 Email Address and no alternate */
            arguments(
                "/x509-san-upn-resolver.crt",
                "test@somecompany.com",
                null,
                "x509Rfc822Email"
            ),

            /* test with alternate parameter and cert with RFC822 Email Address */
            arguments(
                "/x509-san-upn-resolver.crt",
                "test@somecompany.com",
                "subjectDn",
                "x509subjectUPN"
            ),

            /* test with alternate parameter and cert without RFC822 Email Address */
            arguments(
                "/user-valid.crt",
                "CN=Alice, OU=CAS, O=Jasig, L=Westminster, ST=Colorado, C=US",
                "subjectDn",
                null
            ),

            /* test with bad alternate parameter and cert without RFC822 Email Address */
            arguments(
                "/user-valid.crt",
                null,
                "badAttribute",
                null
            )
        );
    }
Gets the unit test parameters.

@return Test parameter data.
support/cas-server-support-x509-core/src/test/java/org/apereo/cas/adaptors/x509/authentication/principal/X509SubjectAlternativeNameRFC822EmailPrincipalResolverTests.java