@Test
    void verifyLogout() {
        val r = new SamlRequestAuditResourceResolver();
        val issuer = mock(Issuer.class);
        when(issuer.getValue()).thenReturn("https://idp.example.org");

        val logoutRequest = mock(LogoutRequest.class);
        when(logoutRequest.getIssuer()).thenReturn(issuer);
        val pair = Pair.of(logoutRequest, null);
        val result = r.resolveFrom(mock(JoinPoint.class), pair);
        assertNotNull(result);
        assertTrue(result.length > 0);
    }
This is {@link SamlRequestAuditResourceResolverTests}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-saml-idp-web/src/test/java/org/apereo/cas/support/saml/web/idp/audit/SamlRequestAuditResourceResolverTests.java