public function testTryToFindAtLeastOneReferenceForId()
 {
     $tableDefinition = $connection = $this->getMockBuilder('\\SMW\\SQLStore\\TableDefinition')->disableOriginalConstructor()->getMock();
     $tableDefinition->expects($this->atLeastOnce())->method('getFields')->will($this->returnValue(array('o_id' => 42)));
     $PropertyTableIdReferenceFinder = $connection = $this->getMockBuilder('\\SMW\\SQLStore\\PropertyTableIdReferenceFinder')->disableOriginalConstructor()->getMock();
     $connection = $this->getMockBuilder('\\SMW\\MediaWiki\\Database')->disableOriginalConstructor()->getMock();
     $connection->expects($this->any())->method('selectRow')->will($this->returnValue(false));
     $this->store->expects($this->any())->method('getConnection')->will($this->returnValue($connection));
     $this->store->expects($this->any())->method('getPropertyTables')->will($this->returnValue(array($tableDefinition)));
     $instance = new PropertyTableIdReferenceFinder($this->store);
     $instance->tryToFindAtLeastOneReferenceForId(42);
 }