public void destroyStream(String stream) {
		CommandResult cr = executeCommand("stream destroy --name " + stream);
		stateVerifier.waitForDestroy(stream);
		assertTrue("Failure to destroy stream " + stream + ".  CommandResult = " + cr.toString(),
				cr.isSuccess());
		streams.remove(stream);
	}
Destroy a specific stream

@param stream The stream to destroy
spring-xd-shell/src/test/java/org/springframework/xd/shell/command/StreamCommandsTemplate.java