public async Task CanUpdateIncrementAsync() { Collection.Add(_statistics); await _repository.UpdateIncrementAsync(x => x.Id == _statistics.Id, s => s.ViewsAmount, 1); Assert.Equal(101, Collection[0].ViewsAmount); }