@Test
	public void testNormalMetadataTypeValueTrimmed() {
		String resource = "classpath:/DefaultModuleOptionsMetadataResolverTests-modules/source/module5/";
		ModuleDefinition definition = ModuleDefinitions.simple("module5", source, resource);
		ModuleOptionsMetadata metadata = metadataResolver.resolve(definition);
		assertThat(metadata, hasItem(moduleOptionNamed("foo")));

		ModuleOption foo = metadata.iterator().next();
		assertThat(foo.getType(), equalTo(String.class.getName()));
	}
This test has the "foo" option almost overlapping: for the same name "foo", two options exist with slightly
different attributes, this is an error.
spring-xd-module/src/test/java/org/springframework/xd/module/options/DefaultModuleOptionsMetadataResolverTests.java