/**
  * Update Website
  *
  * @param Website $websiteOrigin
  * @param Website $website
  * @return array
  */
 public function test(Website $websiteOrigin, Website $website)
 {
     //Preconditions
     $websiteOrigin->persist();
     //Steps
     $this->storeIndex->open();
     $this->storeIndex->getStoreGrid()->searchAndOpenWebsite($websiteOrigin);
     $this->editWebsite->getEditFormWebsite()->fill($website);
     $this->editWebsite->getFormPageActions()->save();
     return ['website' => $this->mergeFixture($website, $websiteOrigin)];
 }
 /**
  * Delete Website
  *
  * @param Website $website
  * @param string $createBackup
  * @return void
  */
 public function test(Website $website, $createBackup)
 {
     //Preconditions
     $website->persist();
     $this->backupIndex->open()->getBackupGrid()->massaction([], 'Delete', true, 'Select All');
     //Steps
     $this->storeIndex->open();
     $this->storeIndex->getStoreGrid()->searchAndOpenWebsite($website);
     $this->editWebsite->getFormPageActions()->delete();
     $this->deleteWebsite->getDeleteWebsiteForm()->fillForm(['create_backup' => $createBackup]);
     $this->deleteWebsite->getFormPageActions()->delete();
 }