public function testAddResourceValueForPredefinedProperty()
 {
     $property = $this->dataItemFactory->newDIProperty('_boo');
     $dataItem = $this->dataItemFactory->newDIBoolean(true);
     $expData = new ExpData(new ExpNsResource('Foobar', 'Bar', 'Mo', null));
     $instance = new PredefinedPropertyValueResourceBuilder();
     $instance->addResourceValue($expData, $property, $dataItem);
     $this->assertTrue($instance->isResourceBuilderFor($property));
 }
 /**
  * @since 2.5
  *
  * {@inheritDoc}
  */
 public function addResourceValue(ExpData $expData, DIProperty $property, DataItem $dataItem)
 {
     parent::addResourceValue($expData, $property, $dataItem);
     $expElement = $this->exporter->getDataItemExpElement($dataItem);
     if ($expElement === null) {
         return;
     }
     $expData->addPropertyObjectValue($this->exporter->getSpecialPropertyResource('_URI'), $expElement);
 }