@Test
	public void testXdModuleConfigLeavesComes3rd() {
		setValueInStreamDefinitionItself(false);
		setValueAsSystemProperty(false);
		setValueInModuleConfigFiles(true, "with-leaf");
		runTestAndExpect("value-from-properties-file");
	}
Tests that ensure that defaults computed by {@link EnvironmentAwareModuleOptionsMetadataResolver} come in the correct
order, namely
<ol>
<li>inline DSL option in the stream definition</li>
<li>System properties</li>
<li>Environment variables (not tested, but assimilated to the above)</li>
<li>values in the {@code <root>/<type>/<module>/<module>.properties} file</li>
<li>values in the {@code <root>/config/modules/modules.yml} file</li>
<li>the actual module default</li>
</ol>
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/stream/ModuleOptionsDefaultsOrderingTests.java