@Before
	public void setUp() {
		final DefaultListableBeanFactory beanFactory = new DefaultListableBeanFactory();
		XmlBeanDefinitionReader reader = new XmlBeanDefinitionReader(beanFactory);
		Resource resource = new ClassPathResource("/" + getClass().getSimpleName() + "/" + name.getMethodName()
				+ ".xml");
		reader.loadBeanDefinitions(resource);

		DefaultModuleOptionsMetadataCollector collector = new DefaultModuleOptionsMetadataCollector();
		result = collector.collect(beanFactory);
	}
Tests for {@link DefaultModuleOptionsMetadataCollector}.

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