コード例 #1
0
 public function testGetResponse()
 {
     $client = new Elastica_Client();
     $client->getIndex('test');
     $status = new Elastica_Status($client);
     $this->assertInstanceOf('Elastica_Response', $status->getResponse());
 }
コード例 #2
0
ファイル: StatusTest.php プロジェクト: ro-ka/Elastica
	public function testGetResponse() {
		$index = $this->_createIndex();
		$status = new Elastica_Status($index->getClient());
		$this->assertInstanceOf('Elastica_Response', $status->getResponse());
	}