@Test
    void verifyResolverSupports() throws Throwable {
        val resolver = getGroovyResourceMetadataResolver();
        val service = new SamlRegisteredService();
        service.setMetadataLocation("classpath:GroovyMetadataResolver.groovy");
        assertTrue(resolver.supports(service));
        assertTrue(resolver.isAvailable(service));
    }
This is {@link GroovyResourceMetadataResolverTests}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-saml-idp-metadata/src/test/java/org/apereo/cas/support/saml/services/idp/metadata/cache/resolver/GroovyResourceMetadataResolverTests.java