@Test
	public void testIllegalOptionResolution() {
		ConfigurableEnvironment parentEnv = new AbstractEnvironment() {

			@Override
			protected void customizePropertySources(MutablePropertySources propertySources) {
				propertySources.addFirst(singleton("user", "eric"));
			}
		};
		EnumerablePropertySource<?> modulePS = singleton("user", null);
		ModuleEnvironment moduleEnvironment = new ModuleEnvironment(modulePS, parentEnv);
		assertThat(moduleEnvironment.getProperty("user"), nullValue());

	}
Tests for {@link ModuleEnvironment}.

@author Eric Bottard
spring-xd-module/src/test/java/org/springframework/xd/module/core/ModuleEnvironmentTests.java