@Test
    void verifyTicketId() {
        val jp = mock(JoinPoint.class);
        when(jp.getArgs()).thenReturn(new Object[]{"ticket-id"});
        val assertion = mock(Assertion.class);
        when(assertion.getPrimaryAuthentication()).thenReturn(CoreAuthenticationTestUtils.getAuthentication());
        assertTrue(ticketValidationResourceResolver.resolveFrom(jp, assertion).length > 0);
    }
This is {@link TicketValidationResourceResolverTests}.

@author Misagh Moayyed
@since 5.3.0
core/cas-server-core-audit/src/test/java/org/apereo/cas/audit/spi/TicketValidationResourceResolverTests.java