Functional\Tests\ReindexTest::testExceptionIsThrownInHashIterator PHP Метод

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

    public function testExceptionIsThrownInHashIterator()
    {
        $this->setExpectedException('DomainException', 'Callback exception');
        reindex($this->hashIterator, [$this, 'exception']);
    }