isAvailableInChannel() public method

public isAvailableInChannel ( string $channelName ) : boolean
$channelName string
return boolean
 /**
  * @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));
 }