19    protected function getRecord($level = Logger::WARNING, $message = 
'test', $context = array())
 
   22            'message' => $message,
 
   23            'context' => $context,
 
   25            'level_name' => Logger::getLevelName($level),
 
   27            'datetime' => \DateTime::createFromFormat(
'U.u', sprintf(
'%.6F', microtime(
true))),
 
   40            $this->getRecord(Logger::INFO, 
'information'),
 
   41            $this->getRecord(Logger::WARNING, 
'warning'),
 
   42            $this->getRecord(Logger::ERROR, 
'error')
 
   51        $formatter = $this->getMock(
'Monolog\\Formatter\\FormatterInterface');
 
   52        $formatter->expects($this->any())
 
   54            ->will($this->returnCallback(
function ($record) { 
return $record[
'message']; }));
 
getRecord($level=Logger::WARNING, $message='test', $context=array())