public function testRewind() { $this->iterator->expects(self::once())->method('rewind'); $this->sourceIterator->rewind(); }