@Test
	public void jarFilesModulesDontIncludeExtensionInTheirName() {
		List<ModuleDefinition> definitions = registry.findDefinitions(ModuleType.sink);
		assertThat(definitions, not(contains(ResourceModuleRegistryTests.hasName("module-zipped.jar"))));
		assertThat(definitions, contains(ResourceModuleRegistryTests.hasName("module-zipped")));
	}
Tests for ResourceModuleRegistry implementation logic.

@author Eric Bottard
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/module/WritableResourceModuleRegistryLogicTests.java