/** * Tests getType method. */ public function testGeoHashGridAggregationGetType() { $aggregation = new GeoHashGridAggregation('foo'); $result = $aggregation->getType(); $this->assertEquals('geohash_grid', $result); }