public function testFormatPropertyItemOnPredefinedProperty()
 {
     $property = $this->dataItemFactory->newDIProperty('_MDAT');
     $instance = new WantedPropertiesQueryPage($this->store, $this->settings);
     $result = $instance->formatResult($this->skin, array($property, 42));
     $this->assertEmpty($result);
 }
 public function testFormatResultOnNonUserDefinedProperty()
 {
     $store = $this->getMockBuilder('\\SMW\\Store')->disableOriginalConstructor()->getMockForAbstractClass();
     $skin = $this->getMockBuilder('\\Skin')->disableOriginalConstructor()->getMock();
     $setttings = Settings::newFromArray(array());
     $instance = new WantedPropertiesQueryPage($store, $setttings);
     $result = $instance->formatResult($skin, array('foo', 0));
     $this->assertInternalType('string', $result);
     $this->assertEmpty($result);
 }