/** * @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)); }
/** * @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)); }