private ModuleDefinition craftDefinitionFor(String name, ModuleType type) {
        String location = String.format("classpath:%s-modules/%s/%s/", DefaultSimpleModuleInformationResolverTests.class.getSimpleName(), type, name);
        return ModuleDefinitions.simple(name, type, location);
    }
Unit tests for DefaultSimpleModuleInformationResolver.

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