public function testThatIndexReturnsCorrectValue(\Pinq\ITraversable $traversable, array $data) { foreach ($data as $key => $value) { $this->assertSame($value, $traversable[$key]); } }