/** * @test * @covers Plum\Plum\Reader\ArrayReader::getIterator() */ public function getIteratorShouldReturnArrayIterator() { $iterator = $this->reader->getIterator(); $this->assertInstanceOf('\\ArrayIterator', $iterator); $this->assertEquals('foobar', $iterator[0]); }