/**
  * Tests get Type method.
  */
 public function testSpanNearQueryGetType()
 {
     $query = new SpanNearQuery(['name']);
     $result = $query->getType();
     $this->assertEquals('span_near', $result);
 }