19 $this->request->expects($this->at(1))
22 ->will($this->returnValue($buttonParam));
23 $this->checkout->expects($this->once())
25 ->with((
bool)$buttonParam);
27 $this->request->expects($this->at(2))
29 ->with(\
Magento\Paypal\Model\Express\Checkout::PAYMENT_INFO_BUTTON)
30 ->will($this->returnValue($buttonParam));
31 $this->customerData->expects($this->any())
33 ->will($this->returnValue(1));
34 $this->checkout->expects($this->once())
36 ->with($this->anything(), $this->anything(), (
bool)$buttonParam);
37 $this->model->execute();
45 return [[
'1'], [
null]];
startActionDataProvider()
testStartAction($buttonParam)