Author: Arkadiusz Krakowiak (arkadiusz.krakowiak@lakion.com)
Inheritance: extends Sylius\Behat\Page\Admin\Crud\UpdatePageInterface
 /**
  * @Given the payment method :paymentMethod should have instructions :instructions in :language
  */
 public function thePaymentMethodShouldHaveInstructionsIn(PaymentMethodInterface $paymentMethod, $instructions, $language)
 {
     $this->iWantToModifyAPaymentMethod($paymentMethod);
     Assert::same($this->updatePage->getPaymentMethodInstructions($language), $instructions);
 }
 /**
  * @Then the payment method :paymentMethod should be available in channel :channelName
  */
 public function thePaymentMethodShouldBeAvailableInChannel(PaymentMethodInterface $paymentMethod, $channelName)
 {
     $this->iWantToModifyAPaymentMethod($paymentMethod);
     Assert::true($this->updatePage->isAvailableInChannel($channelName), sprintf('Payment method should be available in channel "%s" but it does not.', $channelName));
 }
 /**
  * @Then this payment method should be disabled
  */
 public function thisPaymentMethodShouldBeDisabled()
 {
     Assert::false($this->updatePage->isPaymentMethodEnabled(), 'Payment method should be disabled');
 }