@Test
    void verifyMultipleAttributes() throws Throwable {
        val attributes = new HashMap<>(CoreAuthenticationTestUtils.getAttributeRepository().getBackingMap());
        attributes.put("upn", List.of("cas1", "cas2"));
        val creds = getCredential(attributes);
        val auth = authenticationManager.authenticate(CoreAuthenticationTestUtils.getAuthenticationTransactionFactory().newTransaction(creds));
        assertNotNull(auth);
    }
This is {@link WsFederationCredentialsToPrincipalResolverTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-wsfederation/src/test/java/org/apereo/cas/support/wsfederation/authentication/principal/WsFederationCredentialsToPrincipalResolverTests.java