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