public function __construct(\Exception $e) { $this->setException($e); $oErrorMap = new ErrorMap(); $oErrorMap->setTemplatePath(VSC_RES_PATH . 'templates'); $oErrorMap->setTemplate('error.tpl.php'); $this->setMap($oErrorMap); }
public function testBasic__construct() { $o = new ErrorMap(); $this->assertEquals('\\A.*\\Z', $o->getRegex()); $this->assertEquals(ErrorProcessor::class, $o->getPath()); }