@Test
    void verifyStatus() throws Throwable {
        val tgt = new MockTicketGrantingTicket("casuser");
        when(ticketRegistry.getTicket(anyString(), (Class<Ticket>) any())).thenReturn(tgt);
        this.mockMvc.perform(get(TICKETS_RESOURCE_URL + "/TGT-1"))
            .andExpect(status().isOk())
            .andExpect(content().string(tgt.getId()));
    }
This is {@link TicketStatusResourceTests}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-rest/src/test/java/org/apereo/cas/support/rest/TicketStatusResourceTests.java