@Test
    void verifyResolverWithMultipleURLs() throws Throwable {
        val props = new SamlIdPProperties();
        props.getMetadata().getFileSystem().setLocation(fileSystemMetadataPath);
        val resolver = new MetadataQueryProtocolMetadataResolver(httpClient, props, openSamlConfigBean);
        val service = new SamlRegisteredService();
        service.setId(RandomUtils.nextLong());
        service.setName(RandomUtils.randomAlphabetic(12));
        service.setMetadataLocation("http://mdq.ukfederation.org.uk/entities/{0},http://mdq.incommon.org/entities/{0}");
        service.setServiceId("https://webauth.cmc.edu/idp/shibboleth");
        val results = resolver.resolve(service);
        assertFalse(results.isEmpty());
        assertTrue(resolver.isAvailable(service));
        assertTrue(resolver.supports(service));
    }
This is {@link MetadataQueryProtocolMetadataResolverTests}.

@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/MetadataQueryProtocolMetadataResolverTests.java