@Test
    void verifyNotWaitingEnoughTime() {
        ticket.grantServiceTicket("test", RegisteredServiceTestUtils.getService(), expirationPolicy, false,
            serviceTicketSessionTrackingPolicy);
        val clock = Clock.fixed(ticket.getLastTimeUsed().toInstant().plusSeconds(1), ZoneOffset.UTC);
        expirationPolicy.setClock(clock);
        assertTrue(ticket.isExpired());
    }
Test cases for {@link ThrottledUseAndTimeoutExpirationPolicy}.

@author Scott Battaglia
@since 3.0.0
core/cas-server-core-tickets/src/test/java/org/apereo/cas/ticket/expiration/ThrottledUseAndTimeoutExpirationPolicyTests.java