Example #1
0
 public function testUserNamespace()
 {
     $params = array();
     $params['customNamespaces'] = array('test' => 'TestNamespace\\TestNamespace');
     $client = new Elasticsearch\Client($params);
     $this->assertEquals($client->test()->echoString(), "abc");
 }