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 itCleanUpEverythingAtTheVeryEnd()
 {
     $temporary_directory = $this->creator->getTemporaryDirectory();
     unset($this->creator);
     $this->assertFalse(file_exists($temporary_directory));
 }