@Test
    void verifySerializePolicyToJson() throws IOException {
        val policyWritten = new CustomNamespaceWSFederationClaimsReleasePolicy(
            CollectionUtils.wrap(WSFederationClaims.COMMON_NAME.getClaim(), "cn",
                WSFederationClaims.EMAIL_ADDRESS.getClaim(), "email"));
        MAPPER.writeValue(JSON_FILE, policyWritten);
        val policyRead = MAPPER.readValue(JSON_FILE, CustomNamespaceWSFederationClaimsReleasePolicy.class);
        assertEquals(policyWritten, policyRead);
    }
This is {@link CustomNamespaceWSFederationClaimsReleasePolicyTests}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-ws-idp-api/src/test/java/org/apereo/cas/ws/idp/services/CustomNamespaceWSFederationClaimsReleasePolicyTests.java