@Test
    void verifyAction() {
        val original = CoreAuthenticationTestUtils.getAttributes();
        original.put("address", EncodingUtils.hexEncode("123 Main Street"));
        val attributes = ProtocolAttributeEncoder.decodeAttributes(original, CoreAuthenticationTestUtils.getRegisteredService(),
            CoreAuthenticationTestUtils.getWebApplicationService());
        assertEquals(original.size(), attributes.size());
        assertTrue(attributes.containsKey("address"));
    }
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