Пример #1
0
 public function testLogger()
 {
     $ff = new FortissimoHarness(self::config);
     $ff->logException();
     $logger = $ff->loggerManager()->getLoggerByName('fail');
     $this->assertNotNull($logger, 'Logger exists.');
     $this->assertEquals(1, count($logger->getMessages()));
 }