@Test
    void ensureSamlMsftClaimsAttributesEncoded() {
        val attributes = new HashMap<String, Object>();
        attributes.put("http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname", "testValue");
        val result = ProtocolAttributeEncoder.decodeAttributes(attributes, CoreAuthenticationTestUtils.getRegisteredService("test"),
            CoreAuthenticationTestUtils.getWebApplicationService());
        assertTrue(result.containsKey("http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname"));
    }
This is {@link SamlAttributeEncoderTests}.

@author Misagh Moayyed
@since 5.1.0
support/cas-server-support-saml-idp/src/test/java/org/apereo/cas/support/saml/SamlAttributeEncoderTests.java