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