@Test
        void verifyOperation() throws Throwable {
            samlIdPMetadataLocator.initialize();
            assertNotNull(samlIdPMetadataGenerator.generate(Optional.empty()));
            assertNotNull(samlIdPMetadataLocator.resolveMetadata(Optional.empty()));
            assertNotNull(samlIdPMetadataLocator.resolveEncryptionCertificate(Optional.empty()));
            assertNotNull(samlIdPMetadataLocator.resolveEncryptionKey(Optional.empty()));
            assertNotNull(samlIdPMetadataLocator.resolveSigningCertificate(Optional.empty()));
            assertNotNull(samlIdPMetadataLocator.resolveSigningKey(Optional.empty()));
            assertTrue(samlIdPMetadataLocator.exists(Optional.empty()));
        }
This is {@link FileSystemSamlIdPMetadataLocatorTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-saml-idp/src/test/java/org/apereo/cas/support/saml/idp/metadata/locator/FileSystemSamlIdPMetadataLocatorTests.java