Esempio n. 1
0
 /**
  * @param boolean $status
  * @return string
  */
 protected function getAppViewScript($status)
 {
     return $this->app->getViewScript($status);
 }
 public function testGetViewScriptWithStatusFalse()
 {
     $viewScript = $this->object->getViewScript(false);
     $controller = $this->object->getController();
     $this->assertEquals($viewScript, 'error');
 }