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

testNoticeExceptionErrorLog() 공개 메소드

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