public function testLogException() { $this->object->Error(new \Exception("Test")); $contents = file_get_contents($this->file); $this->assertContains('EXCEPTION', $contents); $this->assertContains('Test', $contents); }