mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-11 23:54:04 +02:00
Move the class off in the tests
This commit is contained in:
@@ -105,3 +105,15 @@ class WhatFailureGroupHandlerTest extends TestCase
|
||||
$this->assertTrue($records[0]['extra']['foo']);
|
||||
}
|
||||
}
|
||||
|
||||
class ExceptionTestHandler extends TestHandler
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function handle(array $record) {
|
||||
parent::handle($record);
|
||||
|
||||
throw new \Exception("ExceptionTestHandler::handle");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user