|
@@ -167,4 +167,12 @@ class FilterHandlerTest extends TestCase
|
|
|
);
|
|
);
|
|
|
$handler->handle($this->getRecord(Logger::WARNING));
|
|
$handler->handle($this->getRecord(Logger::WARNING));
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ public function testHandleEmptyBatch()
|
|
|
|
|
+ {
|
|
|
|
|
+ $test = new TestHandler();
|
|
|
|
|
+ $handler = new FilterHandler($test);
|
|
|
|
|
+ $handler->handleBatch(array());
|
|
|
|
|
+ $this->assertSame(array(), $test->getRecords());
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|