public function testThatDifferenceWithDuplicateValuesPreservesTheOriginalKeys(\Pinq\ITraversable $traversable, array $data) { $otherData = ['test' => 1, 'anotherkey' => 3, 1000 => 5]; $intersection = $traversable->difference($otherData); $this->assertMatches($intersection, array_diff($data, $otherData)); }