Sylius\Behat\Page\Admin\PaymentMethod\UpdatePageInterface::isAvailableInChannel PHP Method

isAvailableInChannel() public method

public isAvailableInChannel ( string $channelName ) : boolean
$channelName string
return boolean
    public function isAvailableInChannel($channelName);

Usage Example

 /**
  * @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));
 }