assertInstanceOf( 'SMW\Query\Language\ThingDescription', new ThingDescription() ); } public function testCommonMethods() { $instance = new ThingDescription(); $this->assertSame( '', $instance->getQueryString() ); $this->assertFalse( $instance->isSingleton() ); $this->assertEquals( [], $instance->getPrintRequests() ); $this->assertSame( 0, $instance->getSize() ); $this->assertSame( 0, $instance->getDepth() ); $this->assertSame( 0, $instance->getQueryFeatures() ); } public function testPrune() { $instance = new ThingDescription(); $maxsize = 1; $maxDepth = 1; $log = []; $this->assertEquals( $instance, $instance->prune( $maxsize, $maxDepth, $log ) ); } }