From a13978994c997743657d52d7a997e430dc310e4a Mon Sep 17 00:00:00 2001 From: Mark Fisher Date: Mon, 10 Dec 2007 05:23:06 +0000 Subject: [PATCH] Added calls to afterPropertiesSet in tests. --- .../integration/endpoint/InboundChannelAdapterTests.java | 3 +++ .../integration/endpoint/OutboundChannelAdapterTests.java | 1 + 2 files changed, 4 insertions(+) diff --git a/spring-eai-core/src/test/java/org/springframework/integration/endpoint/InboundChannelAdapterTests.java b/spring-eai-core/src/test/java/org/springframework/integration/endpoint/InboundChannelAdapterTests.java index fa5dab78fa..b886b2e898 100644 --- a/spring-eai-core/src/test/java/org/springframework/integration/endpoint/InboundChannelAdapterTests.java +++ b/spring-eai-core/src/test/java/org/springframework/integration/endpoint/InboundChannelAdapterTests.java @@ -46,6 +46,7 @@ public class InboundChannelAdapterTests { new InboundMethodInvokingChannelAdapter(); adapter.setObject(new TestSource()); adapter.setMethod("invalidMethodWithArg"); + adapter.afterPropertiesSet(); adapter.receive(); } @@ -55,6 +56,7 @@ public class InboundChannelAdapterTests { new InboundMethodInvokingChannelAdapter(); adapter.setObject(new TestSource()); adapter.setMethod("invalidMethodWithNoReturnValue"); + adapter.afterPropertiesSet(); adapter.receive(); } @@ -64,6 +66,7 @@ public class InboundChannelAdapterTests { new InboundMethodInvokingChannelAdapter(); adapter.setObject(new TestSource()); adapter.setMethod("noSuchMethod"); + adapter.afterPropertiesSet(); adapter.receive(); } diff --git a/spring-eai-core/src/test/java/org/springframework/integration/endpoint/OutboundChannelAdapterTests.java b/spring-eai-core/src/test/java/org/springframework/integration/endpoint/OutboundChannelAdapterTests.java index bf3484d718..a274af7a68 100644 --- a/spring-eai-core/src/test/java/org/springframework/integration/endpoint/OutboundChannelAdapterTests.java +++ b/spring-eai-core/src/test/java/org/springframework/integration/endpoint/OutboundChannelAdapterTests.java @@ -67,6 +67,7 @@ public class OutboundChannelAdapterTests { new OutboundMethodInvokingChannelAdapter(); adapter.setObject(new TestSink()); adapter.setMethod("noSuchMethod"); + adapter.afterPropertiesSet(); adapter.send(new DocumentMessage(1, "test")); }