/** * 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; }
/** * The setup method, called before each test */ public function setUp() { $this->sut = Response::getInstance(); }