@Test
	public void testSameValues() {
		Set<String> core = new HashSet<String>();
		for (ModuleType type : ModuleType.values()) {
			core.add(type.name());
		}

		Set<String> rest = new HashSet<String>();
		for (RESTModuleType type : RESTModuleType.values()) {
			rest.add(type.name());
		}

		assertEquals(core, rest);
	}
Shell integration tests layer is one place where both {@link ModuleType} and {@link RESTModuleType} are visible. This
test makes sure they're both kept in sync.

@author Eric Bottard
spring-xd-shell/src/test/java/org/springframework/xd/shell/ModuleTypeTest.java