public function testReport()
{
$path = base_path('tests/storage/logs/report.log');
\Log::useFiles($path);
$this->handler->report(new \ErrorException('testing error'));
$this->assertFileExists($path);
$content = file_get_contents($path);
$this->assertNotFalse(strpos($content, 'testing error'));
$this->beforeApplicationDestroyed(function () use($path) {
\File::delete($path);
});
}