@Test
	public void testListRuntimeModules() {
		logger.info("List runtime modules");
		String streamName = generateStreamName();
		stream().create(streamName, "time | log");

		assertThat(2, eventually(moduleCountForStream(streamName)));
	}
Runtime commands tests.

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