1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 13:16:39 +02:00
This commit is contained in:
pomaxa
2012-06-13 12:38:09 +03:00
parent a56543682d
commit a9df0f461a

View File

@@ -17,7 +17,7 @@ use Monolog\Logger;
/** /**
* @covers Monolog\Handler\RotatingFileHandler * @covers Monolog\Handler\RotatingFileHandler
*/ */
class RotatingFileHandlerTest extends TestCase class AmqpHandlerTest extends TestCase
{ {
public function setUp() public function setUp()
{ {
@@ -32,12 +32,20 @@ class RotatingFileHandlerTest extends TestCase
require_once __DIR__ . '/AmqpMocks.php'; require_once __DIR__ . '/AmqpMocks.php';
} }
public function testWrite()
public function testConstruct()
{ {
// $handler = new AmqpHandler($this->getMockAMQPConnection(), 'log', 'monolog'); // $handler = new AmqpHandler($this->getMockAMQPConnection(), 'log', 'monolog');
// $this->assertInstanceOf('Monolog\Handler\AmqpHandler', $handler);
} }
public function getMockAMQPConnection() { public function testWrite()
{
}
public function getMockAMQPConnection()
{
return new MockAMQPConnection(); return new MockAMQPConnection();
} }