public function testErrorToException() { $ff = new FortissimoHarness(); $this->assertTrue($ff->hasRequest('div'), 'Command div exists?'); $ff->handleRequest('div'); $log = $ff->loggerManager()->getLoggerbyName('fail'); $msgs = $log->getMessages(); $this->assertEquals(1, count($msgs)); }