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

		assertThat(0, 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