public function getResponse() { return $this->response; }
public function testSetAndGetResponse() { $c = new Controller(); $c->setResponse(new Response(200, array('Content-Type' => 'text/html'))); $this->assertEquals(200, $c->getResponse()->getCode()); }