@Test
    void verifySerializeAnExpirationPolicyToJson() throws IOException {
        val policy = new TicketGrantingTicketExpirationPolicy(100, 100);
        MAPPER.writeValue(JSON_FILE, policy);
        val policyRead = MAPPER.readValue(JSON_FILE, TicketGrantingTicketExpirationPolicy.class);
        assertEquals(policy, policyRead);
    }
Test cases for {@link TicketGrantingTicketExpirationPolicy}.

@author William G. Thompson, Jr.
@since 3.4.10
core/cas-server-core-tickets/src/test/java/org/apereo/cas/ticket/expiration/TicketGrantingTicketExpirationPolicyTests.java