@Test
    void verifyMissingMetadataInMDQ() {
        val criteriaSet1 = getCriteriaFor("https://shib-sp-test-preprod.dartmouth.edu/shibboleth");
        val service = getSamlRegisteredService(1, ".*", "https://mdq.incommon.org/entities/{0}");
        val resolver = getResolver("PT5M");
        assertThrows(SamlException.class, () -> resolver.resolve(service, criteriaSet1));
    }
This is {@link SamlRegisteredServiceDefaultCachingMetadataResolverTests}.

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