@Test
    void verifySurrogate() {
        val tgt = new MockTicketGrantingTicket("casuser", Map.of(),
            Map.of(SurrogateAuthenticationService.AUTHENTICATION_ATTR_SURROGATE_PRINCIPAL, List.of("principal"),
                SurrogateAuthenticationService.AUTHENTICATION_ATTR_SURROGATE_USER, List.of("user")));
        val policy = new SurrogateSessionExpirationPolicy();
        assertEquals(SurrogateSessionExpirationPolicy.POLICY_NAME_SURROGATE, policy.getExpirationPolicyNameFor(tgt));
    }
This is {@link SurrogateSessionExpirationPolicyTests}.

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