@Test
    void verifyPriority() {
        val source = casCoreBootstrapPropertySourceLocator.locate(environment);
        assertInstanceOf(CompositePropertySource.class, source);
        val composite = (CompositePropertySource) source;
        assertEquals("file", composite.getProperty("test.file"));
        assertEquals("dirAppYml", composite.getProperty("test.dir.app"));
        assertEquals("classpathAppYml", composite.getProperty("test.classpath"));
        assertEquals("devProfileProp", composite.getProperty("test.dir.profile"));
        assertEquals("standaloneProfileProp", composite.getProperty("profile.override.me"));
        assertEquals("dirCasProp", composite.getProperty("test.dir.cas"));
    }
This is {@link DefaultCasConfigurationPropertiesSourceLocatorTests}.

@author Misagh Moayyed
@since 5.3.0
core/cas-server-core-configuration/src/test/java/org/apereo/cas/configuration/support/DefaultCasConfigurationPropertiesSourceLocatorTests.java