@Autowired
		public void setEnvironment(Environment environment) {
			Map<String, Object> map = new HashMap<String, Object>();
			map.put("xd.config.home", "file:../config");
			((ConfigurableEnvironment) environment).getPropertySources().addFirst(new MapPropertySource("foo", map));
		}
Integration test class to do various tests about {@link ModuleOptionsMetadata} provided by XD.

@author Eric Bottard
@author David Turanski
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/modules/metadata/ModuleOptionsMetadataSanityTests.java