public function testThatCollectionRemovesRangeFromScopedValues(\Pinq\ICollection $collection, array $data)
{
$filteredScopeCollection = $collection->where(function ($i) {
return $i >= 5;
});
$filteredScopeCollection->removeRange(range(3, 7));
$this->assertMatchesValues($filteredScopeCollection, [8, 9, 10], 'Scoped collection should not contain the removed applicable values');
$this->assertMatchesValues($collection, [1, 2, 3, 4, 8, 9, 10], 'Source collection should have removed applicable values from the scoped collection');
}