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