hasShippingMethod() public method

public hasShippingMethod ( string $shippingMethodName ) : boolean
$shippingMethodName string
return boolean
Esempio n. 1
0
 /**
  * @Then I should not be able to select :shippingMethod shipping method
  */
 public function iShouldNotBeAbleToSelectShippingMethod($shippingMethod)
 {
     Assert::false($this->selectShippingPage->hasShippingMethod($shippingMethod), sprintf('Shipping method "%s" should not be available but it does.', $shippingMethod));
 }
Esempio n. 2
0
 /**
  * @Then I should not see :shippingMethodName shipping method
  */
 public function iShouldNotSeeShippingMethod($shippingMethodName)
 {
     Assert::false($this->selectShippingPage->hasShippingMethod($shippingMethodName), sprintf('There should not be %s shipping method, but it is.', $shippingMethodName));
 }