@Test
	public void testExtraDataInJson() {
		List<Module> modules = parseJsonToModule(JSON_EXTRA_DATA_RESULT);
		assertEquals("Expected 2 modules in this result.", 2, modules.size());
		Module module = modules.get(0);
		assertEquals("Expected moduleName is time.0", "time.0", module.getModuleName());
		assertEquals("Expected moduleChannel is output", "output", module.getModuleChannel());
		assertEquals("Should be only 3 sends", "3", module.getSendCount());
		assertEquals("Should be only 5 receive", "5", module.getReceiveCount());

		module = modules.get(1);
		assertEquals("Expected moduleName is log.1", "log.1", module.getModuleName());
		assertEquals("Expected moduleChannel is input", "input", module.getModuleChannel());
		assertEquals("Should be only 3 sends", "3", module.getSendCount());
		assertNull("receiveCount should be null", module.getReceiveCount());

	}
Verifies that extra data will not prevent a parse.
spring-xd-integration-test/src/test/java/org/springframework/xd/integration/test/util/JMXTest.java