Phprest\ErrorHandler\Handler\LogTest::testPhprestException PHP Метод

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

    public function testPhprestException()
    {
        $this->assertFalse($this->monologHandler->hasCriticalRecords());
        $this->logHandler->handle(new BadRequest(9, ['a detail']));
        $this->assertTrue($this->monologHandler->hasCriticalRecords());
    }