/**
  * Edit Currency Symbol Entity test
  *
  * @param CurrencySymbolEntity $currencySymbol
  * @param string $configData
  * @return void
  */
 public function test(CurrencySymbolEntity $currencySymbol, $configData)
 {
     // Preconditions
     $this->importCurrencyRate($configData);
     // Steps
     $this->currencySymbolIndex->open();
     $this->currencySymbolIndex->getCurrencySymbolForm()->fill($currencySymbol);
     $this->currencySymbolIndex->getPageActions()->save();
 }
 /**
  * Reset Currency Symbol Entity test.
  *
  * @param CurrencySymbolEntity $currencySymbolOriginal
  * @param CurrencySymbolEntity $currencySymbol
  * @param string $currencySymbolDefault
  * @param string $configData
  * @return array
  */
 public function test(CurrencySymbolEntity $currencySymbolOriginal, CurrencySymbolEntity $currencySymbol, $currencySymbolDefault, $configData)
 {
     // Preconditions
     $currencySymbolOriginal->persist();
     $this->importCurrencyRate($configData);
     // Steps
     $this->currencySymbolIndex->open();
     $this->currencySymbolIndex->getCurrencySymbolForm()->fill($currencySymbol);
     $this->currencySymbolIndex->getPageActions()->save();
     return ['currencySymbol' => $this->fixtureFactory->createByCode('currencySymbolEntity', ['data' => array_merge($currencySymbol->getData(), ['custom_currency_symbol' => $currencySymbolDefault])])];
 }