Assert.hasText(streamName, "streamName cannot be null or empty");
Assert.hasText(moduleResourceLocation, "moduleResourceLocation cannot be null or empty");
this.integrationSupport = new SingleNodeIntegrationTestSupport(application);
this.integrationSupport.addModuleRegistry(new ArchiveModuleRegistry(moduleResourceLocation));
String streamDefinition = buildStreamDefinition(processingChain);
stream = new StreamDefinition(streamName, streamDefinition);
integrationSupport.createAndDeployStream(stream);
messageBus = integrationSupport.messageBus();
this.sink = createSink() ? new SingleNodeNamedQueueSink(messageBus, QUEUE_CONSUMER) : null;