/**
  *
  */
 public function testSavingFile()
 {
     $this->dumpEntity->setCarefully(false);
     $this->dumpEntity->saveFile($this->filePath, 'test');
     $this->assertTrue($this->filesystem->exists($this->filePath));
     $this->assertEquals('test', file_get_contents($this->filePath));
 }
 /**
  *
  */
 protected function saveSiteMapIndex()
 {
     $this->dumpEntity->saveFile($this->dumpEntity->getWebDir() . '/' . ($this->dumpEntity->getPath() !== '' ? '/' . $this->dumpEntity->getPath() . '/' : '/') . 'sitemap.xml', $this->dumpEntity->getSiteMapIndexEntity()->getXml());
 }