public async Task MustCommitTheTransaction()
        {
            using var target = new DbTransactionAdapter <DbTransaction>(transaction.Object);
            await target.CommitAsync(CancellationToken.None);

            transaction.Verify(o => o.Commit(), Times.Once);
        }
        public void ThrowsExceptionWhenAlreadyDisposedOnCommit()
        {
            var target = new DbTransactionAdapter <DbTransaction>(transaction.Object);

            target.Dispose();

            Assert.ThrowsAsync <ObjectDisposedException>(async() => await target.CommitAsync(CancellationToken.None));
        }