/**
  * @since 1.8
  *
  * @param  Store $baseStore
  */
 public function __construct(Store $baseStore = null)
 {
     $this->factory = new SPARQLStoreFactory($this);
     $this->baseStore = $baseStore;
     if ($this->baseStore === null) {
         $this->baseStore = $this->factory->newBaseStore(self::$baseStoreClass);
     }
 }
 public function testCanConstructBaseStore()
 {
     $instance = new SPARQLStoreFactory($this->store);
     $this->assertInstanceOf('\\SMWSQLStore3', $instance->newBaseStore('SMWSQLStore3'));
 }