@Test
    public void returnFound() {
        DefaultSimpleModuleInformationResolver resolver = new DefaultSimpleModuleInformationResolver();
        ModuleInformation result = resolver.resolve(craftDefinitionFor("module1", source));

        assertThat(result, notNullValue());
        assertThat(result.getShortDescription(), equalTo("I'm a cool module."));
    }
Unit tests for DefaultSimpleModuleInformationResolver.

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