hasPaymentMethod() публичный Метод

public hasPaymentMethod ( string $paymentMethodName ) : boolean
$paymentMethodName string
Результат boolean
Пример #1
0
 /**
  * @Then I should be able to select :paymentMethodName payment method
  */
 public function iShouldBeAbleToSelectPaymentMethod($paymentMethodName)
 {
     Assert::true($this->selectPaymentPage->hasPaymentMethod($paymentMethodName), sprintf('Payment method "%s" should be available, but it does not.', $paymentMethodName));
 }