public function testApiReplace_ThrowsException_OnInvalidIterator()
{
$this->setExpectedException(OutOfBoundsException::class);
for ($this->iterator->rewind(); $this->iterator->valid(); $this->iterator->next()) {
}
$this->iterator->replace($this->appendString);
}