Fix broken test (new method in Spring 3.1 needs mock)

This commit is contained in:
Dave Syer
2012-09-24 16:37:14 +01:00
parent 5410e076a8
commit d372269e0b

View File

@@ -84,6 +84,7 @@ public class BatchMessageListenerContainerTests {
// Expect one call to consumer (chunk size is 2 but terminates on
// first)...
EasyMock.expect(consumer.receive(1000)).andReturn(message);
EasyMock.expect(session.getTransacted()).andReturn(false);
EasyMock.replay(consumer, session);