static TestTicketIdentifiers generate() {
            var ticketGrantingTicketId = TICKET_GRANTING_TICKET_ID_GENERATOR.getNewTicketId(TicketGrantingTicket.PREFIX);
            var serviceTicketId = new ServiceTicketIdGenerator(10, StringUtils.EMPTY)
                .getNewTicketId(ServiceTicket.PREFIX);
            var proxyGrantingTicketId = new ProxyGrantingTicketIdGenerator(10, StringUtils.EMPTY)
                .getNewTicketId(ProxyGrantingTicket.PROXY_GRANTING_TICKET_PREFIX);
            var transientSessionTicketId = new DefaultUniqueTicketIdGenerator().getNewTicketId(TransientSessionTicket.PREFIX);
            return new TestTicketIdentifiers(ticketGrantingTicketId, serviceTicketId, transientSessionTicketId, proxyGrantingTicketId);
        }
Determine whether the tested registry is able to iterate its tickets.
core/cas-server-core-tickets/src/test/java/org/apereo/cas/ticket/registry/BaseTicketRegistryTests.java