@BeforeEach
    void setup() {
        val key = RedisSamlRegisteredServiceMetadataResolver.CAS_PREFIX + '*';
        try (val keys = redisSamlRegisteredServiceMetadataResolverTemplate.scan(key, 0L)) {
            redisSamlRegisteredServiceMetadataResolverTemplate.delete(keys.collect(Collectors.toSet()));
        }
    }
This is {@link RedisSamlRegisteredServiceMetadataResolverTests}.

@author Misagh Moayyed
@since 6.4.0
support/cas-server-support-saml-idp-metadata-redis/src/test/java/org/apereo/cas/support/saml/metadata/resolver/RedisSamlRegisteredServiceMetadataResolverTests.java