public function testGetSemanticDataFromCacheForAvailableHash()
 {
     $subject = new DIWikiPage('Foo', NS_MAIN);
     $filter = false;
     $store = $this->getMockBuilder('\\SMW\\SQLStore\\SQLStore')->disableOriginalConstructor()->getMock();
     $container = $this->getMockBuilder('\\Onoi\\BlobStore\\Container')->disableOriginalConstructor()->getMock();
     $container->expects($this->once())->method('has')->will($this->returnValue(true));
     $container->expects($this->once())->method('get')->with($this->stringContains('sd:'))->will($this->returnValue('Foo'));
     $blobStore = $this->getMockBuilder('\\Onoi\\BlobStore\\BlobStore')->disableOriginalConstructor()->getMock();
     $blobStore->expects($this->once())->method('canUse')->will($this->returnValue(true));
     $blobStore->expects($this->once())->method('read')->will($this->returnValue($container));
     $instance = new CachedValueLookupStore($store, $blobStore);
     $this->assertEquals('Foo', $instance->getSemanticData($subject, $filter));
 }