@Test
    void verifyById() {
        val factory = (TransientSessionTicketFactory) this.ticketFactory.get(TransientSessionTicket.class);
        val ticket = factory.create(UUID.randomUUID().toString(), Map.of());
        assertNotNull(ticket);
        assertNull(ticket.getService());
    }
This is {@link DefaultTransientSessionTicketFactoryTests}.

@author Misagh Moayyed
@since 6.2.0
core/cas-server-core-tickets/src/test/java/org/apereo/cas/ticket/factory/DefaultTransientSessionTicketFactoryTests.java