public function testIndexingDocumentWithoutId()
{
$doc = array('title' => 'One cool ' . $this->getTag());
$client = \ElasticSearch\Client::connection();
$resp = $client->index($doc, false, array('refresh' => true));
$this->assert->array($resp)->boolean($resp['created'])->isTrue(1);
}