Functional\Tests\NoneTest::testExceptionIsThrownInIterator PHP Méthode

testExceptionIsThrownInIterator() public méthode

    public function testExceptionIsThrownInIterator()
    {
        $this->setExpectedException('DomainException', 'Callback exception');
        none($this->goodIterator, [$this, 'exception']);
    }