Functional\Tests\DropTest::testExceptionIsThrownInArray PHP Метод

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

    public function testExceptionIsThrownInArray($fn)
    {
        $this->setExpectedException('DomainException', 'Callback exception');
        $fn($this->list, [$this, 'exception']);
    }