private ClasspathResourceMetadataResolver getClasspathResourceMetadataResolver() throws IOException {
        val props = new SamlIdPProperties();
        props.getMetadata().getFileSystem().setLocation(new FileSystemResource(FileUtils.getTempDirectory()).getFile().getCanonicalPath());
        return new ClasspathResourceMetadataResolver(props, openSamlConfigBean);
    }
This is {@link ClasspathResourceMetadataResolverTests}.

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