private function given_IsVisible($actionId)
 {
     Mockster::stub($this->access->isVisible($actionId))->will()->return_(true);
 }
예제 #2
0
 /**
  * @param string $actionId
  * @return boolean
  */
 public function isVisible($actionId)
 {
     return $this->access->isVisible($actionId);
 }