private static void composeModule(String name, String definition, ModuleType type, List<ModuleDefinition> moduleDefinitions) {
		ModuleDefinition moduleDefinition = ModuleDefinitions.composed(name, type, definition, moduleDefinitions);
		getModuleRegistry().registerNew(moduleDefinition);
	}
Tests for streams created with composed modules.

@author Mark Fisher
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/stream/ComposedModuleStreamTests.java