mirror of https://github.com/apache/activemq.git
[AMQ-6625] fix mock test expectation regression
This commit is contained in:
parent
ce551cf97d
commit
d70852eec8
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue