/** * Tests get Type method. */ public function testSpanFirstQueryGetType() { /** @var SpanQueryInterface $mock */ $mock = $this->mock; $query = new SpanFirstQuery($mock, 5); $result = $query->getType(); $this->assertEquals('span_first', $result); }