@Test
	@SuppressWarnings("unchecked")
	public void testMixinOverlap() {
		String resource = "classpath:/DefaultModuleOptionsMetadataResolverTests-modules/source/module3/";
		ModuleDefinition definition = ModuleDefinitions.simple("module3", source, resource);
		ModuleOptionsMetadata metadata = metadataResolver.resolve(definition);
		assertThat(
				metadata,
				containsInAnyOrder(moduleOptionNamed("foo"), moduleOptionNamed("bar")));
	}
This test has the "foo" option *exactly* overlapping from different mixins: this is ok, and only one copy is
visible.
spring-xd-module/src/test/java/org/springframework/xd/module/options/DefaultModuleOptionsMetadataResolverTests.java