1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-08 22:26:41 +02:00

Add @covers annotations

This commit is contained in:
Jordi Boggiano
2011-07-20 00:04:49 +02:00
parent f9f27ce43f
commit 2bf653b39c
3 changed files with 12 additions and 0 deletions

View File

@@ -16,6 +16,9 @@ use Monolog\TestCase;
class JsonFormatterTest extends TestCase
{
/**
* @covers Monolog\Formatter\JsonFormatter::format
*/
public function testFormat()
{
$formatter = new JsonFormatter();
@@ -23,6 +26,9 @@ class JsonFormatterTest extends TestCase
$this->assertEquals(json_encode($record), $formatter->format($record));
}
/**
* @covers Monolog\Formatter\JsonFormatter::formatBatch
*/
public function testFormatBatch()
{
$formatter = new JsonFormatter();