public function setErrorAction($error) { $this->errorAction = $error; return $this; }
public function testSetAndGetErrorAction() { $c = new Controller(); $c->setErrorAction('myerror'); $this->assertEquals('myerror', $c->getErrorAction()); }