public async Task when_updating_many_then_findmany_returns_updated_results()
        {
            //arrange
            IRepository <Post> repository  = new MongoDbRepository <Post>(_collection);
            List <Post>        newEntities = Enumerable.Range(1, 3)
                                             .Select(x => new Post
            {
                ID      = ObjectId.GenerateNewId(),
                Text    = "original",
                Counter = 1
            })
                                             .ToList();
            await repository.InsertMany(newEntities);

            newEntities.ForEach(x => x.Text = "update many");

            //act
            long upsertedCount = await repository.ReplaceMany(newEntities, true);

            //assert
            upsertedCount.Should().Be(newEntities.Count);

            ObjectId[]  ids            = newEntities.Select(x => x.ID).ToArray();
            List <Post> actualEntities = await repository.FindMany(x => ids.Contains(x.ID), 0, 10);

            actualEntities.Should().HaveCount(newEntities.Count);
            actualEntities.ForEach(actual =>
            {
                actual.Text.Should().Be("update many");
                actual.Counter.Should().Be(1);
            });
        }