@Test
	public void testNonEmptyBehavior() {
		moduleOptions.add(new ModuleOption("foo", "d"));
		moduleOptions.add(new ModuleOption("bar", "d").withDefaultValue("here"));

		Iterator<ModuleOption> it = moduleOptions.iterator();

		assertThat(it.next(), hasProperty("name", equalTo("foo")));
		assertThat(it.next(), hasProperty("name", equalTo("bar")));
	}
Test for {@link SimpleModuleOptionsMetadata} behavior.

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