@Test
	@SuppressWarnings("unchecked")
	public void testMixin() {
		String resource =
				"classpath:/DefaultModuleOptionsMetadataResolverTests-modules/source/module2/";
		ModuleDefinition definition = ModuleDefinitions.simple("module2", source, resource);
		ModuleOptionsMetadata metadata = metadataResolver.resolve(definition);
		assertThat(
				metadata,
				containsInAnyOrder(moduleOptionNamed("bar"), moduleOptionNamed("fizz"), moduleOptionNamed("foo"),
						moduleOptionNamed("optionDefinedHere")));
	}
Tests for {@link DefaultModuleOptionsMetadataResolver}.

@author Eric Bottard
spring-xd-module/src/test/java/org/springframework/xd/module/options/DefaultModuleOptionsMetadataResolverTests.java