public function testGeoNearOptionsArePassed()
{
$queryArray = ['type' => Query::TYPE_GEO_NEAR, 'geoNear' => ['near' => [1, 1], 'options' => ['spherical' => true]], 'limit' => 10, 'query' => ['type' => 1]];
$collection = $this->getMockCollection();
$collection->expects($this->once())->method('near')->with([1, 1], ['type' => 1], ['num' => 10, 'spherical' => true]);
$query = new Query($collection, $queryArray, []);
$query->execute();
}