public function testCanConstructUnusedPropertyListLookup()
 {
     $instance = new SQLStoreFactory(new SMWSQLStore3());
     $this->assertInstanceOf('SMW\\SQLStore\\ListLookup\\UnusedPropertyListLookup', $instance->newUnusedPropertyListLookup(null));
 }
示例#2
0
 /**
  * @param RequestOptions|null $requestOptions
  *
  * @return ListLookup
  */
 public function getUnusedPropertiesSpecial($requestOptions = null)
 {
     $unusedPropertyListLookup = $this->factory->newUnusedPropertyListLookup($requestOptions);
     $cachedListLookup = $this->factory->newCachedListLookup($unusedPropertyListLookup, self::$configuration->get('smwgUnusedPropertiesCache'), self::$configuration->get('smwgUnusedPropertiesCacheExpiry'));
     return $cachedListLookup;
 }