@Test
	@SuppressWarnings("unchecked")
	public void testNamesIteration() {
		assertThat(
				metadata,
				containsInAnyOrder(moduleOptionNamed(makeKey("pojo1", "bar")),
						moduleOptionNamed(makeKey("pojo2", "fizz")),
						moduleOptionNamed(makeKey("pojo1", "foo"))));
	}
Tests for HierarchicalCompositeModuleOptionsMetadata.

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