@Test
    void verifyResolverSupports() throws Throwable {
        val service = new SamlRegisteredService();
        service.setMetadataLocation(METADATA_FILE.getCanonicalPath());
        assertTrue(metadataResolver.supports(service));
        assertFalse(metadataResolver.isAvailable(null));
        assertTrue(metadataResolver.resolve(null).isEmpty());
    }
This is {@link FileSystemResourceMetadataResolverTests}.

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