/** * @Then /^(this currency) should still have exchange rate equal to ([0-9\.]+)$/ */ public function theCurrencyShouldStillHaveExchangeRateEquals(CurrencyInterface $currency, $exchangeRate) { $this->updatePage->open(['id' => $currency->getId()]); Assert::eq($exchangeRate, $this->updatePage->getExchangeRateValue(), sprintf('Currency exchange rate should be equal %s, but was %s.', $exchangeRate, $this->updatePage->getExchangeRateValue())); }