public function testThatExceptWithDuplicateKeysPreservesTheOriginalValues(\Pinq\ITraversable $traversable, array $data) { $otherData = [0 => 'test', 2 => 0.01, 5 => 4, 'test' => 1]; $except = $traversable->except($otherData); $this->assertMatches($except, array_diff($data, $otherData)); }