Phprest\ErrorHandler\Handler\LogTest::testNoticeExceptionErrorLog PHP Method

testNoticeExceptionErrorLog() public method

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