public function update(SimpleXMLElement $xml_artifact)
 {
     foreach ($xml_artifact->file as $file) {
         $path = (string) $file->path;
         $temporary_path = $this->temporary_file_creator->createTemporaryFile($path);
         $file->path = $temporary_path;
     }
 }
 public function itCreatesFileInPlateformDefinedTmpDir()
 {
     $copy = $this->creator->createTemporaryFile($this->initial);
     $this->assertTrue(strpos($copy, ForgeConfig::get('tmp_dir')) === 0);
 }