@Test
    void verifyAction() {
        val r = new DelegatedAuthenticationAuditResourceResolver();
        val result = AuditableExecutionResult.builder()
            .registeredService(CoreAuthenticationTestUtils.getRegisteredService())
            .service(CoreAuthenticationTestUtils.getService())
            .build();
        result.addProperty(CasClient.class.getSimpleName(), new CasClient(new CasConfiguration("http://cas.example.org")));
        val outcome = r.resolveFrom(mock(JoinPoint.class), result);
        assertTrue(outcome.length > 0);
    }
This is {@link DelegatedAuthenticationAuditResourceResolverTests}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-pac4j-core/src/test/java/org/apereo/cas/audit/DelegatedAuthenticationAuditResourceResolverTests.java