public function testFromConfig()
 {
     $params = ['hosts' => ['localhost:9200'], 'retries' => 2, 'handler' => ClientBuilder::multiHandler()];
     $client = ClientBuilder::fromConfig($params);
 }