public static WsFederationCredential getCredential() {
        val attributes = new HashMap<>(CoreAuthenticationTestUtils.getAttributeRepository().getBackingMap());
        attributes.put("upn", List.of("cas@example.org"));
        return getCredential(attributes);
    }
Abstract class, provides resources to run wsfed tests.

@author Misagh Moayyed
@since 4.2
support/cas-server-support-wsfederation/src/test/java/org/apereo/cas/support/wsfederation/AbstractWsFederationTests.java