@Test(expected = IllegalStateException.class)
	public void cantHaveBothJarFileAndDir() {
		registry.findDefinition("dummy", ModuleType.processor);
	}
Tests for ResourceModuleRegistry implementation logic.

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