hasPayment() public method

public hasPayment ( string $paymentMethodName ) : boolean
$paymentMethodName string
return boolean
Ejemplo n.º 1
0
 /**
  * @Then it should have payment state :paymentState
  */
 public function itShouldHavePaymentState($paymentState)
 {
     Assert::true($this->showPage->hasPayment($paymentState), sprintf('It should have payment with %s state', $paymentState));
 }
Ejemplo n.º 2
0
 /**
  * @Then it should have completed payment state
  */
 public function itShouldHaveCompletedPaymentState()
 {
     Assert::true($this->showPage->hasPayment('Completed'), 'It should have payment with completed state.');
 }