public function testGetTablesWithEmptyPropertyTableDefinition()
 {
     $propertyTableDefinition = $this->getMockBuilder('\\SMW\\SQLStore\\PropertyTableDefinition')->disableOriginalConstructor()->getMock();
     $dataItemHandler = $this->getMockBuilder('\\SMW\\SQLStore\\EntityStore\\DataItemHandler')->disableOriginalConstructor()->getMockForAbstractClass();
     $dataItemHandler->expects($this->once())->method('getTableFields')->will($this->returnValue(array()));
     $store = $this->getMockBuilder('\\SMW\\SQLStore\\SQLStore')->disableOriginalConstructor()->getMock();
     $store->expects($this->once())->method('getPropertyTables')->will($this->returnValue(array($propertyTableDefinition)));
     $store->expects($this->once())->method('getDataItemHandlerForDIType')->will($this->returnValue($dataItemHandler));
     $instance = new TableSchemaManager($store);
     $this->assertInternalType('array', $instance->getTables());
     $this->assertInternalType('string', $instance->getHash());
 }