@Test
    void verifyUndefined() {
        val p = RegisteredServiceServiceTicketExpirationPolicy.undefined();
        assertNull(p.getTimeToLive());
        assertEquals(Long.MIN_VALUE, p.getNumberOfUses());
    }
This is {@link DefaultRegisteredServiceServiceTicketExpirationPolicyTests}.

@author Misagh Moayyed
@since 6.1.0
core/cas-server-core-services/src/test/java/org/apereo/cas/services/DefaultRegisteredServiceServiceTicketExpirationPolicyTests.java