1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-01 02:40:24 +02:00

Added test for getDefaultFormatter

This commit is contained in:
ChristianB
2013-01-31 07:24:14 +01:00
parent a2162c1787
commit 5a2a9129d4

View File

@@ -54,4 +54,9 @@ class ZendMonitorHandlerTest extends TestCase
$zendMonitor->handle($record);
}
public function testGetDefaultFormatterReturnsNormalizerFormatter()
{
$zendMonitor = new ZendMonitorHandler();
$this->assertInstanceOf('Monolog\Formatter\NormalizerFormatter', $zendMonitor->getDefaultFormatter());
}
}