25 for (
$i = 0;
$i < 10000;
$i++) {
28 $count = count($testHandler->getRecords());
30 $this->assertLessThan(6000, $count);
31 $this->assertGreaterThan(4000, $count);
An exception for terminatinating execution or to throw for unit testing.
@covers Monolog\Handler\SamplingHandler::handle
Used for testing purposes.
getRecord($level=Logger::WARNING, $message='test', $context=array())