@Before
	public void setup() {
		String thisClass = REGISTRY_ROOT.replace(".", "/");

		ResourceModuleRegistry cp = new ResourceModuleRegistry(
				String.format("classpath:/%s/classpath-based", thisClass));
		ResourceModuleRegistry file = new ResourceModuleRegistry(String.format(
				"file:src/test/resources/%s/file-based", thisClass));
		registry = new DelegatingModuleRegistry(cp, file);
	}
Tests for DelegatingModuleRegistry.

@author Eric Bottard
@author Glenn Renfro
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/module/DelegatingModuleRegistryTests.java