return null;
}
}).when(mockEventStore).visitEvents(isA(Criteria.class), isA(EventVisitor.class));
when(mockEventStore.newCriteriaBuilder()).thenReturn(new JpaCriteriaBuilder());
Criteria criteria = testSubject.newCriteriaBuilder().property("abc").isNot(false);
testSubject.startReplay(criteria);
InOrder inOrder = inOrder(mockEventStore, mockTransactionManager, delegateCluster, mockMessageHandler);
inOrder.verify(mockMessageHandler).prepareForReplay(isA(Cluster.class));