diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/store/jdbc/JDBCIOExceptionHandlerMockeryTest.java b/activemq-unit-tests/src/test/java/org/apache/activemq/store/jdbc/JDBCIOExceptionHandlerMockeryTest.java index 08d568d0fc..8a7dc63e23 100644 --- a/activemq-unit-tests/src/test/java/org/apache/activemq/store/jdbc/JDBCIOExceptionHandlerMockeryTest.java +++ b/activemq-unit-tests/src/test/java/org/apache/activemq/store/jdbc/JDBCIOExceptionHandlerMockeryTest.java @@ -71,6 +71,7 @@ public class JDBCIOExceptionHandlerMockeryTest { allowing(brokerService).stopAllConnectors(with(any(ServiceStopper.class))); allowing(brokerService).getPersistenceAdapter(); will(returnValue(jdbcPersistenceAdapter)); + allowing(jdbcPersistenceAdapter).allowIOResumption(); allowing(jdbcPersistenceAdapter).getLocker(); will(returnValue(locker)); allowing(locker).keepAlive();