public async Task CommitAsync_ShouldCallUnderlyingDbContextSaveChangesAsync() { await testDataContext.CommitAsync(); mockDbContext.Verify(m => m.SaveChangesAsync(It.IsAny <CancellationToken>()), Times.Once); }