@Test
    public void doesNotSupportComposedModules() {
        DefaultSimpleModuleInformationResolver resolver = new DefaultSimpleModuleInformationResolver();
        ModuleDefinition filter = ModuleDefinitions.simple("filter", ModuleType.processor, "classpath:dontcare");
        ModuleDefinition transform = ModuleDefinitions.simple("transform", ModuleType.processor, "classpath:dontcare");
        ModuleInformation result = resolver.resolve(ModuleDefinitions.composed("foo", ModuleType.processor, "filter | transform", Arrays.asList(filter, transform)));

        assertThat(result, CoreMatchers.nullValue());
    }
Unit tests for DefaultSimpleModuleInformationResolver.

@author Eric Bottard
spring-xd-module/src/test/java/org/springframework/xd/module/info/DefaultSimpleModuleInformationResolverTests.java