public function testCreate()
 {
     try {
         $this->folder = $this->service->createBackupFolder();
         $this->service->storeAllFiles($this->folder);
         $srcFile = $this->folder . DIRECTORY_SEPARATOR . taoUpdate_models_classes_BackupService::SRC_BACKUP_FILE_PREFFIX . TAO_VERSION . taoUpdate_models_classes_BackupService::SRC_BACKUP_FILE_SUFFIX;
         $this->assertTrue(is_file($srcFile));
         $this->service->storeDatabase($this->folder);
         $dbFile = $this->folder . DIRECTORY_SEPARATOR . taoUpdate_models_classes_BackupService::DB_BACKUP_FILE_PREFFIX . TAO_VERSION . taoUpdate_models_classes_BackupService::DB_BACKUP_FILE_SUFFIX . '.zip';
         $this->assertTrue(is_file($dbFile));
     } catch (taoUpdate_models_classes_UpdateException $e) {
         $this->fail('Exception raised ' . $e->getMessage());
     }
 }
 protected function __construct()
 {
     $this->releasesService = taoUpdate_models_classes_ReleasesService::singleton();
     $this->initReleaseService(RELEASES_MANIFEST);
     $this->backupService = taoUpdate_models_classes_BackupService::singleton();
     $this->shieldService = taoUpdate_models_classes_ShieldService::singleton();
     $this->generateKey();
 }