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

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

public testSimpleException ( )
    public function testSimpleException()
    {
        $this->assertFalse($this->monologHandler->hasCriticalRecords());
        $this->logHandler->handle(new \Exception('test exception'));
        $this->assertTrue($this->monologHandler->hasCriticalRecords());
    }