@Test
    void verifyActionUnknown() {
        val resourceRes = new SamlMetadataResolverAuditResourceResolver();
        val resolver = mock(MetadataResolver.class);
        when(resolver.getId()).thenReturn(UUID.randomUUID().toString());
        val jp = mock(MethodInvocationProceedingJoinPoint.class);
        val staticPart = mock(JoinPoint.StaticPart.class);
        when(staticPart.getKind()).thenReturn("method-execution");
        when(jp.getStaticPart()).thenReturn(staticPart);
        val service = new SamlRegisteredService();
        service.setName("SAML");
        service.setMetadataLocation("https://example.md.org");
        when(jp.getArgs()).thenReturn(new Object[]{service});
        val result = resourceRes.resolveFrom(jp, List.of(resolver));
        assertTrue(result.length > 0);
    }
This is {@link SamlMetadataResolverAuditResourceResolverTests}.

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