1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-07 13:46:38 +02:00

More testing coverage

This commit is contained in:
Jordi Boggiano
2011-06-29 21:32:02 +02:00
parent 7a56a1c73f
commit 66c1cc05a8
5 changed files with 87 additions and 12 deletions

View File

@@ -67,8 +67,8 @@ class LoggerTest extends \PHPUnit_Framework_TestCase
public function testPushPopHandler()
{
$logger = new Logger(__METHOD__);
$handler1 = $this->getMock('Monolog\Handler\NullHandler', array('handle'));
$handler2 = $this->getMock('Monolog\Handler\NullHandler', array('handle'));
$handler1 = new TestHandler;
$handler2 = new TestHandler;
$logger->pushHandler($handler1);
$logger->pushHandler($handler2);