@Test
    void verifyOperation() {
        val policy = new SurrogateSessionExpirationPolicy();
        val serializer = new SurrogateSessionExpirationPolicyJsonSerializer(applicationContext);
        val result = serializer.toString(policy);
        assertNotNull(result);
        val newPolicy = serializer.from(result);
        assertNotNull(newPolicy);
        assertEquals(policy, newPolicy);
    }
This is {@link SurrogateSessionExpirationPolicyJsonSerializerTests}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-surrogate-authentication/src/test/java/org/apereo/cas/ticket/expiration/SurrogateSessionExpirationPolicyJsonSerializerTests.java