public function testSetGeometry()
{
$documentId = $this->collection->createDocument()->setGeometry('location', new \GeoJson\Geometry\Point(array(30.523400000000038, 50.4501)))->save()->getId();
$this->assertEquals(array('type' => 'Point', 'coordinates' => array(30.523400000000038, 50.4501)), $this->collection->getDocument($documentId)->get('location'));
}