Kraken\_Unit\Util\Buffer\BufferIteratorTest::testApiReplace_ThrowsException_OnInvalidIterator PHP Метод

testApiReplace_ThrowsException_OnInvalidIterator() публичный Метод

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