/** * @return MethodInterface[] */ public function getIterator() { return parent::getIterator(); }
public function testGetIteratorInArrayCollection() { $collection = new ArrayCollection(array('first', 'last')); $this->assertInstanceOf('\\ClassGeneration\\Collection\\CollectionIterator', $collection->getIterator()); }