/** * @Given I have confirmed my order * @When I confirm my order */ public function iConfirmMyOrder() { $this->summaryPage->confirmOrder(); }
/** * @Given /^I confirm my order with paypal payment$/ */ public function iConfirmMyOrderWithPaypalPayment() { $this->paypalApiMocker->mockApiPaymentInitializeResponse(); $this->summaryPage->confirmOrder(); }