public async Task DeletedParentWillFilterChild()
        {
            var parent = ParentGenerator.Default;

            parent = await _parentRepository.AddAsync(parent);

            Assert.NotNull(parent?.Id);

            var child = ChildGenerator.Default;

            child = await _childRepository.AddAsync(child);

            Assert.NotNull(child?.Id);

            parent.IsDeleted = true;
            await _parentRepository.SaveAsync(parent);

            await _client.RefreshAsync();

            Assert.Equal(0, await _childRepository.CountBySearchAsync(null));

            parent.IsDeleted = false;
            await _parentRepository.SaveAsync(parent);

            await _client.RefreshAsync();

            Assert.Equal(1, await _childRepository.CountBySearchAsync(null));
        }