public function testGetResponse()
 {
     $client = new Elastica_Client();
     $client->getIndex('test');
     $status = new Elastica_Status($client);
     $this->assertInstanceOf('Elastica_Response', $status->getResponse());
 }
示例#2
0
	public function testGetResponse() {
		$index = $this->_createIndex();
		$status = new Elastica_Status($index->getClient());
		$this->assertInstanceOf('Elastica_Response', $status->getResponse());
	}