public function testLanguageIndependantPropertyLabelAliasInvocation()
 {
     $datatypeRegistry = $this->getMockBuilder('\\SMW\\DataTypeRegistry')->disableOriginalConstructor()->getMock();
     $datatypeRegistry->expects($this->once())->method('getKnownTypeLabels')->will($this->returnValue(array('_uri' => 'URL')));
     $datatypeRegistry->expects($this->once())->method('getKnownTypeAliases')->will($this->returnValue(array('URI' => '_uri')));
     $propertyLabelFinder = $this->getMockBuilder('\\SMW\\PropertyLabelFinder')->disableOriginalConstructor()->getMock();
     $propertyAliases = array('Has type' => '_TYPE');
     $instance = new PropertyRegistry($datatypeRegistry, $propertyLabelFinder, $propertyAliases);
     $this->assertEquals(array('Has type' => '_TYPE', 'URI' => '_uri'), $instance->getKnownPropertyAliases());
 }