/** * @Given I should see shipping method :shippingMethodName with fee :fee */ public function iShouldSeeShippingFee($shippingMethodName, $fee) { Assert::true($this->shippingPage->hasShippingMethodFee($shippingMethodName, $fee), sprintf('The shipping fee should be %s, but it does not.', $fee)); }
/** * @Then I should be informed that my order cannot be shipped to this address */ public function iShouldBeInformedThatMyOrderCannotBeShippedToThisAddress() { Assert::true($this->shippingPage->hasNoShippingMethodsMessage(), 'Shipping page should have no shipping methods message but it does not.'); }