示例#1
0
        public async Task CommitAsync_ShouldCallUnderlyingDbContextSaveChangesAsync()
        {
            await testDataContext.CommitAsync();

            mockDbContext.Verify(m => m.SaveChangesAsync(It.IsAny <CancellationToken>()), Times.Once);
        }