@Test
    void verifySerializeANeverExpiresExpirationPolicyToJson() throws IOException {
        val policyWritten = NeverExpiresExpirationPolicy.INSTANCE;
        MAPPER.writeValue(JSON_FILE, policyWritten);
        val policyRead = MAPPER.readValue(JSON_FILE, NeverExpiresExpirationPolicy.class);
        assertEquals(policyWritten, policyRead);
    }
Test cases for {@link NeverExpiresExpirationPolicy}.

@author Misagh Moayyed
@since 4.1
core/cas-server-core-tickets/src/test/java/org/apereo/cas/ticket/expiration/NeverExpiresExpirationPolicyTests.java