@AfterAll
    public static void cleanUp() {
        val gitDir = new File(FileUtils.getTempDirectory(), "cas-saml-metadata");
        if (gitDir.exists()) {
            FunctionUtils.doAndHandle(
                __ -> PathUtils.deleteDirectory(gitDir.toPath(), StandardDeleteOption.OVERRIDE_READ_ONLY));
        }
    }
This is {@link GitSamlIdPMetadataGeneratorTests}.

@author Misagh Moayyed
@since 6.0.0
support/cas-server-support-saml-idp-metadata-git/src/test/java/org/apereo/cas/support/saml/idp/metadata/GitSamlIdPMetadataGeneratorTests.java