public function getResponse() { if (is_null($this->_response)) { $this->refresh(); } return $this->_response; }
/** * @group functional */ public function testGetResponse() { $index = $this->_createIndex(); $status = new Status($index->getClient()); $this->assertInstanceOf('Elastica\\Response', $status->getResponse()); }