Esempio n. 1
0
 /**
  * Getter for the response instance variable.
  *
  * @return MvcLite\Response The response instance.
  */
 public function getResponse()
 {
     if (!$this->response) {
         $this->response = \MvcLite\Response::getInstance();
     }
     return $this->response;
 }
Esempio n. 2
0
 /**
  * The setup method, called before each test
  */
 public function setUp()
 {
     $this->sut = Response::getInstance();
 }