@Test
    void verifyInvalidTicket() throws Throwable {
        val ctx = MockRequestContext.create(applicationContext);
        val tgt = new MockTicketGrantingTicket("user");
        WebUtils.putTicketGrantingTicketInScopes(ctx, tgt);
        val action = new TicketGrantingTicketCheckAction(getTicketRegistry());
        val event = action.execute(ctx);
        assertEquals(CasWebflowConstants.TRANSITION_ID_TICKET_GRANTING_TICKET_INVALID, event.getId());
    }
Handles tests for {@link TicketGrantingTicketCheckAction}.

@author Misagh Moayyed
@since 4.1.0
support/cas-server-support-actions/src/test/java/org/apereo/cas/web/flow/TicketGrantingTicketCheckActionTests.java