1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-07-31 18:30:15 +02:00

Added @covers annotations to everything

This commit is contained in:
Jordi Boggiano
2011-06-29 20:23:08 +02:00
parent 61d5a23e41
commit 8108272c6c
9 changed files with 116 additions and 6 deletions

View File

@@ -15,6 +15,9 @@ use Monolog\Logger;
class SyslogHandlerTest extends \PHPUnit_Framework_TestCase
{
/**
* @covers Monolog\Handler\SyslogHandler::__construct
*/
public function testConstruct()
{
$handler = new SyslogHandler('test');
@@ -27,6 +30,9 @@ class SyslogHandlerTest extends \PHPUnit_Framework_TestCase
$this->assertInstanceOf('Monolog\Handler\SyslogHandler', $handler);
}
/**
* @covers Monolog\Handler\SyslogHandler::__construct
*/
public function testConstructInvalidFacility()
{
$this->setExpectedException('UnexpectedValueException');