/**
  * @test
  */
 public function processStringFromMetaDataWithOverwrite()
 {
     $this->markTestSkipped('Single Run of test passes whereas two tests in row semm to have a side effect on the cObj creation / usage');
     $titleFormat = array('_typoScriptNodeValue' => 'TEXT', 'dataWrap' => '{field:fileName} by {field:artist}');
     $itemMeta = new Tx_Yag_Domain_Model_ItemMeta();
     $itemMeta->setCaptureDate(new DateTime('2012-10-08'));
     $itemMeta->setArtist('Daniel Lienert');
     $item = new Tx_Yag_Domain_Model_Item();
     $item->setOriginalFilename('test.jpg');
     $item->setFilename('test.jpg');
     $item->setItemMeta($itemMeta);
     $overWriteVars = array('artist' => 'Daniel');
     $formattedString = $this->fixture->_call('processStringFromMetaData', $item, $titleFormat, $overWriteVars);
     $this->assertEquals('Test by Daniel', $formattedString);
 }