[AMQ-6625] fix mock test expectation regression

This commit is contained in:
gtully 2017-06-16 10:29:32 +01:00
parent ce551cf97d
commit d70852eec8
1 changed files with 1 additions and 0 deletions

View File

@ -71,6 +71,7 @@ public class JDBCIOExceptionHandlerMockeryTest {
allowing(brokerService).stopAllConnectors(with(any(ServiceStopper.class))); allowing(brokerService).stopAllConnectors(with(any(ServiceStopper.class)));
allowing(brokerService).getPersistenceAdapter(); allowing(brokerService).getPersistenceAdapter();
will(returnValue(jdbcPersistenceAdapter)); will(returnValue(jdbcPersistenceAdapter));
allowing(jdbcPersistenceAdapter).allowIOResumption();
allowing(jdbcPersistenceAdapter).getLocker(); allowing(jdbcPersistenceAdapter).getLocker();
will(returnValue(locker)); will(returnValue(locker));
allowing(locker).keepAlive(); allowing(locker).keepAlive();