public async void AnyAsync_MustCheck_Parameters()
        {
            // Arrange
            var repository = new ReadOnlyRepositoryFixture(false);

            // Act

            // Assert
            await Assert.ThrowsAsync <ArgumentOutOfRangeException>(async() => await repository.AnyAsync(-1, 100));

            await Assert.ThrowsAsync <ArgumentOutOfRangeException>(async() => await repository.AnyAsync(0, -1));
        }
        public async void AnyAsync_MustReturn_Entity(bool includeReferences)
        {
            // Arrange
            var sut        = new ReadOnlyRepositoryFixture(includeReferences);
            var enumerator = sut.Configuration.DbSet.OrderBy(e => e.Id).GetEnumerator();
            var last       = sut.Configuration.DbSet.OrderByDescending(e => e.Id).First();

            // Act
            var computed = await sut.AnyAsync(0, int.MaxValue);

            // Assert
            Assert.Equal(sut.Configuration.DbSet.Count(), computed.Count());
            Assert.All(computed, c =>
            {
                enumerator.MoveNext();
                Assert.Equal(enumerator.Current.Id, c.Id);
                if (includeReferences)
                {
                    Assert.NotNull(enumerator.Current.Reference);
                    Assert.NotNull(enumerator.Current.Collection);
                    Assert.NotEmpty(enumerator.Current.Collection);
                }
            });
        }