public static void undeployStream(final URL adminServer, final String streamName)
	{
		Assert.notNull(adminServer, "The admin server must be specified.");
		Assert.hasText(streamName, "The streamName must not be empty nor null");
		createSpringXDTemplate(adminServer).streamOperations().undeploy(streamName);
	}
Undeploys the specified stream name

@param adminServer The admin server that the command will be executed against.
@param streamName The name of the stream to undeploy
spring-xd-integration-test/src/main/java/org/springframework/xd/integration/util/StreamUtils.java