@Test
    void verifyType() throws Throwable {
        val builder = new TransientSessionTicketExpirationPolicyBuilder(casProperties);
        val policy = builder.buildTicketExpirationPolicy();
        assertNotNull(policy);
        val ticket = new DefaultTransientSessionTicketFactory(builder).create(RegisteredServiceTestUtils.getService());
        assertFalse(ticket.isExpired());
        ticket.update();
        assertFalse(ticket.isExpired());
        ticket.update();
        assertTrue(ticket.isExpired());
    }
This is {@link TransientSessionTicketExpirationPolicyBuilderTests}.

@author Misagh Moayyed
@since 6.3.0
core/cas-server-core-tickets/src/test/java/org/apereo/cas/ticket/expiration/builder/TransientSessionTicketExpirationPolicyBuilderTests.java