Sylius\Behat\Page\Shop\Checkout\SelectPaymentPageInterface::getPaymentMethods PHP Méthode

getPaymentMethods() public méthode

public getPaymentMethods ( ) : string[]
Résultat string[]
    public function getPaymentMethods();

Usage Example

Exemple #1
0
 /**
  * @Then I should have :paymentMethodName payment method available as the last choice
  */
 public function iShouldHavePaymentMethodAvailableAsLastChoice($paymentMethodName)
 {
     $paymentMethods = $this->selectPaymentPage->getPaymentMethods();
     $lastPaymentMethod = end($paymentMethods);
     Assert::same($paymentMethodName, $lastPaymentMethod);
 }