public function testHasEntity() { $lookup = new RestrictedEntityLookup($this->getEntityLookup(), 200); $this->assertTrue($lookup->hasEntity(new ItemId('Q22'))); }