@Test
    void verifySerializationToJson() throws IOException {
        val filter = new AuthnRequestRequesterIdAttributeReleasePolicy();
        filter.setRequesterIdPattern("sp-entity-id");
        MAPPER.writeValue(JSON_FILE, filter);
        val strategyRead = MAPPER.readValue(JSON_FILE, AuthnRequestRequesterIdAttributeReleasePolicy.class);
        assertEquals(filter, strategyRead);
        assertNotNull(strategyRead.toString());
    }
This is {@link AuthnRequestRequesterIdAttributeReleasePolicyTests}.

@author Misagh Moayyed
@since 7.1.0
support/cas-server-support-saml-idp/src/test/java/org/apereo/cas/support/saml/services/AuthnRequestRequesterIdAttributeReleasePolicyTests.java