public function current() { return $this->iterator->current(); }
public function testCurrent() { $this->iterator->expects(self::once())->method('current')->will($this->returnValue(array('current'))); self::assertEquals(array('current'), $this->sourceIterator->current()); }