public function testEnsure2dSphereIndex()
{
$this->collection->ensure2dSphereIndex('location');
$document1Id = $this->collection->createDocument()->setPoint('location', 24.012228, 49.831485)->save()->getId();
$document2Id = $this->collection->createDocument()->setPoint('location', 34.551416, 49.588264)->save()->getId();
$document = $this->collection->find()->nearPoint('location', 34.551, 49.588, 200)->findOne();
$this->assertNotEmpty($document);
$this->assertEquals($document2Id, $document->getId());
}