Beispiel #1
0
            public void ShouldEnqueueRollbackAndSync()
            {
                var mockConn = new Mock <IConnection>();

                BoltV3.RollbackTransaction(mockConn.Object);

                mockConn.Verify(x => x.Enqueue(Rollback, It.IsAny <BookmarkCollector>(), null), Times.Once);
                mockConn.Verify(x => x.Sync(), Times.Once);
            }