@Test
    void verifyOperationByDir() throws Throwable {
        val env = new MockEnvironment();
        val sources = CasConfigurationPropertiesEnvironmentManager.configureEnvironmentPropertySources(env);
        env.getPropertySources().addFirst(sources);
        val dir = FileUtils.getTempDirectory();
        env.setProperty(CasConfigurationPropertiesSourceLocator.PROPERTY_CAS_STANDALONE_CONFIGURATION_DIRECTORY, dir.getCanonicalPath());
        assertEquals(dir.getCanonicalPath(), CasConfigurationPropertiesSourceLocator.getStandaloneProfileConfigurationDirectory(env).getCanonicalPath());
    }
This is {@link CasConfigurationPropertiesEnvironmentManagerTests}.

@author Misagh Moayyed
@since 6.3.0
core/cas-server-core-configuration-api/src/test/java/org/apereo/cas/configuration/CasConfigurationPropertiesEnvironmentManagerTests.java