public function response() { if (!$this->response instanceof Response) { $this->setResponse(new Response()); } return $this->response; }
public function testLazyLoadsResponse() { $app = new App(); $response = $app->response(); $this->assertInstanceOf('Zend\\Http\\PhpEnvironment\\Response', $response); }