Functional\Tests\PartitionTest::testExceptionIsThrownInHashIterator PHP 메소드

testExceptionIsThrownInHashIterator() 공개 메소드

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