Sylius\Behat\Context\Ui\Admin\ManagingCurrenciesContext::theCurrencyShouldStillHaveExchangeRateEquals PHP Method

theCurrencyShouldStillHaveExchangeRateEquals() public method

public theCurrencyShouldStillHaveExchangeRateEquals ( Sylius\Component\Currency\Model\CurrencyInterface $currency, $exchangeRate )
$currency Sylius\Component\Currency\Model\CurrencyInterface
    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()));
    }