Functional\Tests\MapTest::testExceptionIsThrownInHash PHP Метод

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

    public function testExceptionIsThrownInHash()
    {
        $this->setExpectedException('DomainException', 'Callback exception');
        map($this->hash, [$this, 'exception']);
    }