@Test
    void verifyOperation() {
        val jp = mock(JoinPoint.class);
        val result = AuditableExecutionResult.builder()
            .authentication(CoreAuthenticationTestUtils.getAuthentication())
            .properties(Map.of("eligible", "true",
                "targetUserId", "casuser",
                "service", CoreAuthenticationTestUtils.getService()))
            .build();
        val outcome = surrogateEligibilityVerificationAuditResourceResolver.resolveFrom(jp, result);
        assertTrue(outcome.length > 0);
    }
This is {@link SurrogateEligibilityVerificationAuditResourceResolverTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-surrogate-authentication/src/test/java/org/apereo/cas/authentication/audit/SurrogateEligibilityVerificationAuditResourceResolverTests.java