@Test
    void verifyOperationById() throws Throwable {
        val ticket = new MockTicketGrantingTicket(UUID.randomUUID().toString());
        ticketRegistry.addTicket(ticket);
        val criteria = TicketRegistryQueryCriteria.builder()
            .id(ticket.getId())
            .type(TicketGrantingTicket.PREFIX).build();
        val results = ticketRegistryEndpoint.query(criteria);
        assertFalse(results.isEmpty());
    }
This is {@link TicketRegistryEndpointTests}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-reports/src/test/java/org/apereo/cas/web/report/TicketRegistryEndpointTests.java