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

testErrorExceptionErrorLog() public method

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