Added calls to afterPropertiesSet in tests.

This commit is contained in:
Mark Fisher
2007-12-10 05:23:06 +00:00
parent 1b23c0b37b
commit a13978994c
2 changed files with 4 additions and 0 deletions

View File

@@ -46,6 +46,7 @@ public class InboundChannelAdapterTests {
new InboundMethodInvokingChannelAdapter<TestSource>();
adapter.setObject(new TestSource());
adapter.setMethod("invalidMethodWithArg");
adapter.afterPropertiesSet();
adapter.receive();
}
@@ -55,6 +56,7 @@ public class InboundChannelAdapterTests {
new InboundMethodInvokingChannelAdapter<TestSource>();
adapter.setObject(new TestSource());
adapter.setMethod("invalidMethodWithNoReturnValue");
adapter.afterPropertiesSet();
adapter.receive();
}
@@ -64,6 +66,7 @@ public class InboundChannelAdapterTests {
new InboundMethodInvokingChannelAdapter<TestSource>();
adapter.setObject(new TestSource());
adapter.setMethod("noSuchMethod");
adapter.afterPropertiesSet();
adapter.receive();
}

View File

@@ -67,6 +67,7 @@ public class OutboundChannelAdapterTests {
new OutboundMethodInvokingChannelAdapter<TestSink>();
adapter.setObject(new TestSink());
adapter.setMethod("noSuchMethod");
adapter.afterPropertiesSet();
adapter.send(new DocumentMessage(1, "test"));
}