@Test
	public void testListRuntimeModulesByModuleId() {
		logger.info("List runtime modules");
		String streamName = generateStreamName();
		stream().create(streamName, "time | log");
		CommandResult cmdResult = executeCommand("runtime modules --moduleId " + streamName + ".sink.log.1");
		Table table = (Table) cmdResult.getResult();
		assertEquals(1, table.getRows().size());
	}
Runtime commands tests.

@author Ilayaperumal Gopinathan
@author Patrick Peralta
spring-xd-shell/src/test/java/org/springframework/xd/shell/command/AbstractRuntimeCommandsTests.java