@Test
	public void testComposedModulesValuesInDefinition() throws IOException {
		FileSink sink = newFileSink().binary(true);
		HttpSource httpSource = newHttpSource();
		module().compose("filterAndTransform",
				"filter --expression=true | transform --expression=payload.replace('abc','...')");
		stream().create(generateStreamName(), "%s | filterAndTransform | %s", httpSource, sink);
		httpSource.ensureReady().postData("abcdefghi!");
		assertThat(sink, eventually(hasContentsThat(equalTo("...defghi!"))));
	}
This tests that options passed in the definition of a composed module are kept as first level defaults.
spring-xd-shell/src/test/java/org/springframework/xd/shell/command/AbstractModuleCommandsTests.java