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

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

    public function testInfoExceptionErrorLog()
    {
        $this->assertFalse($this->monologHandler->hasInfoRecords());
        $this->logHandler->handle(new \ErrorException('test exception', 0, E_STRICT));
        $this->assertTrue($this->monologHandler->hasInfoRecords());
    }