diff --git a/spring-cloud-stream-binder-test/src/main/java/org/springframework/cloud/stream/binder/AbstractBinderTests.java b/spring-cloud-stream-binder-test/src/main/java/org/springframework/cloud/stream/binder/AbstractBinderTests.java index f68361aa8..b6498ee8e 100644 --- a/spring-cloud-stream-binder-test/src/main/java/org/springframework/cloud/stream/binder/AbstractBinderTests.java +++ b/spring-cloud-stream-binder-test/src/main/java/org/springframework/cloud/stream/binder/AbstractBinderTests.java @@ -90,15 +90,15 @@ public abstract class AbstractBinderTests foo0ProducerBinding = binder.bindProducer("foo.0", - new DirectChannel(), createProducerProperties()); + this.createBindableChannel("output", new BindingProperties()), createProducerProperties()); Binding foo0ConsumerBinding = binder.bindConsumer("foo.0", - "testClean", new DirectChannel(), createConsumerProperties()); + "testClean", this.createBindableChannel("input", new BindingProperties()), createConsumerProperties()); Binding foo1ProducerBinding = binder.bindProducer("foo.1", - new DirectChannel(), createProducerProperties()); + this.createBindableChannel("output", new BindingProperties()), createProducerProperties()); Binding foo1ConsumerBinding = binder.bindConsumer("foo.1", - "testClean", new DirectChannel(), createConsumerProperties()); + "testClean", this.createBindableChannel("input", new BindingProperties()), createConsumerProperties()); Binding foo2ProducerBinding = binder.bindProducer("foo.2", - new DirectChannel(), createProducerProperties()); + this.createBindableChannel("output", new BindingProperties()), createProducerProperties()); foo0ProducerBinding.unbind(); assertThat(TestUtils .getPropertyValue(foo0ProducerBinding, "lifecycle", Lifecycle.class)