Phprest\ErrorHandler\Handler\LogTest::testErrorExceptionErrorLog PHP 메소드

testErrorExceptionErrorLog() 공개 메소드

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