public function testThatWhereInWithDuplicateValuesPreservesTheOriginalKeys(\Pinq\ITraversable $traversable, array $data) { $otherData = ['test' => 1, 'anotherkey' => 3, 1000 => 5]; $values = $traversable->whereIn($otherData); $this->assertMatches($values, array_intersect($data, $otherData)); }