Ejemplo n.º 1
0
 public function testMethodsPassDebugAdditionsToMonolog()
 {
     $monolog = $this->mock(Logger::class);
     $monolog->shouldReceive('debug')->once()->with('foo', []);
     $monolog->shouldReceive('pushProcessor')->once();
     $writer = new Writer($monolog);
     $writer->setEventsDispatcher($this->getEventsDispatcher());
     $writer->debug('foo');
 }