use of org.springframework.cloud.stream.binder.test.TestChannelBinder in project spring-cloud-stream by spring-cloud.
the class PollableConsumerTests method createBinder.
private TestChannelBinder createBinder(String... args) {
this.context = new SpringApplicationBuilder(TestChannelBinderConfiguration.getCompleteConfiguration()).web(WebApplicationType.NONE).run(args);
TestChannelBinder binder = context.getBean(TestChannelBinder.class);
return binder;
}
Aggregations