@Test
    void verifySerializationToJson() throws IOException {
        val jsonFile = Files.createTempFile(RandomUtils.randomAlphabetic(8), ".json").toFile();
        val filter = new RefedsRSAttributeReleasePolicy();
        MAPPER.writeValue(jsonFile, filter);
        val strategyRead = MAPPER.readValue(jsonFile, RefedsRSAttributeReleasePolicy.class);
        assertEquals(filter, strategyRead);
    }
This is {@link RefedsRSAttributeReleasePolicyTests}.

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