@Test
    void verifyTicketIsNotExpired() {
        expirationPolicy.setClock(Clock.fixed(ticket.getCreationTime().toInstant().plusSeconds(TIMEOUT).minusNanos(1), ZoneOffset.UTC));
        assertFalse(ticket.isExpired());
    }
Test cases for {@link HardTimeoutExpirationPolicy}.

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