/** * @group unit */ public function testSetType() { $typeQuery = new Type(); $returnValue = $typeQuery->setType('type_name'); $this->assertInstanceOf('Elastica\\Query\\Type', $returnValue); }