private static SpringXDTemplate createSpringXDTemplate(URL adminServer) {
		try {
			return new SpringXDTemplate(adminServer.toURI());
		}
		catch (URISyntaxException uriException) {
			throw new IllegalStateException(uriException.getMessage(), uriException);
		}
	}
Create an new instance of the SpringXDTemplate given the Admin Server URL

@param adminServer URL of the Admin Server
@return A new instance of SpringXDTemplate
spring-xd-integration-test/src/main/java/org/springframework/xd/integration/util/StreamUtils.java