@Test
    void verifyUpdateAndFind() {
        val defn = ticketCatalog.findTicketDefinition(TicketGrantingTicket.class).get();
        ticketCatalog.update(defn);
        assertTrue(ticketCatalog.contains(defn.getPrefix()));
    }
This is {@link DefaultTicketCatalogTests}.

@author Misagh Moayyed
@since 6.1.0
core/cas-server-core-tickets/src/test/java/org/apereo/cas/ticket/DefaultTicketCatalogTests.java