From a9df0f461a14cd02b8a1b6425b5360c5145d6e72 Mon Sep 17 00:00:00 2001 From: pomaxa Date: Wed, 13 Jun 2012 12:38:09 +0300 Subject: [PATCH] test fix --- tests/Monolog/Handler/AmqpHandlerTest.php | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/tests/Monolog/Handler/AmqpHandlerTest.php b/tests/Monolog/Handler/AmqpHandlerTest.php index efcbc5d8..751ce4f0 100644 --- a/tests/Monolog/Handler/AmqpHandlerTest.php +++ b/tests/Monolog/Handler/AmqpHandlerTest.php @@ -17,7 +17,7 @@ use Monolog\Logger; /** * @covers Monolog\Handler\RotatingFileHandler */ -class RotatingFileHandlerTest extends TestCase +class AmqpHandlerTest extends TestCase { public function setUp() { @@ -32,12 +32,20 @@ class RotatingFileHandlerTest extends TestCase require_once __DIR__ . '/AmqpMocks.php'; } - public function testWrite() + + public function testConstruct() { // $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(); }