public function testKind() { $self = $this->query->kind('kindName'); $this->assertInstanceOf(Query::class, $self); $res = $this->query->queryObject(); $this->assertEquals($res['kind'], [['name' => 'kindName']]); }