@Test
    void verifyDeleteTicket() throws Throwable {
        val ticket = new TicketGrantingTicketImpl("TGT-665500",
            CoreAuthenticationTestUtils.getAuthentication(), NeverExpiresExpirationPolicy.INSTANCE);
        ticketRegistry.addTicket(ticket);
        val cmd = new DeleteTicketMessageQueueCommand(new PublisherIdentifier(), ticket.getId())
            .withPublisherIdentifier(new PublisherIdentifier());
        cmd.execute(ticketRegistry);
        assertNull(ticketRegistry.getTicket(ticket.getId()));
    }
This is {@link DeleteTicketMessageQueueCommandTests}.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-amqp-ticket-registry/src/test/java/org/apereo/cas/ticket/registry/queue/DeleteTicketMessageQueueCommandTests.java