protected function getAppController() { return $this->app->getController(); }
public function testGetViewScriptWithStatusFalse() { $viewScript = $this->object->getViewScript(false); $controller = $this->object->getController(); $this->assertEquals($viewScript, 'error'); }