Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Payum
Paypal
ExpressCheckout
Nvp
Tests
Action
CaptureActionTest
createGatewayMock
Payum\Paypal\ExpressCheckout\Nvp\Tests\Action\CaptureActionTest::createGatewayMock PHP Method
CaptureActionTest Class Documentation
Datei anzeigen
Open project: payum/payum
createGatewayMock()
protected
method
protected
createGatewayMock
( ) :
PHPUnit_Framework_MockObject_MockObject | Payum\Core\GatewayInterface
return
PHPUnit_Framework_MockObject_MockObject | Payum\Core\GatewayInterface
protected function createGatewayMock() { return $this->getMock(GatewayInterface::class); }
CaptureActionTest
createGatewayMock
shouldAddNotifyUrlIfTokenFactorySetAndCaptureTokenPassed
shouldForcePaymentActionSale
shouldImplementActionInterface
shouldImplementGatewayAwareInterface
shouldNotAddNotifyUrlIfAlreadySet
shouldNotAddNotifyUrlIfCaptureTokenNotSet
shouldNotAddNotifyUrlIfPaypalTokenAlreadySet
shouldNotAddNotifyUrlIfTokenFactoryNotSet
shouldNotExecuteAnythingIfSetExpressCheckoutActionFails
shouldNotLooseExistingGetParamWhenSettingTargetUrlAsCancelUrl
shouldNotRequestAuthorizeActionIfPayerIdSetInModel
shouldNotRequestDoExpressCheckoutGatewayActionIfAmountZero
shouldNotRequestDoExpressCheckoutGatewayActionIfCheckoutStatusOtherThenNotInitiatedSetInModel
shouldNotRequestSetExpressCheckoutActionAndAuthorizeActionIfTokenSetInModel
shouldRequestAuthorizeActionIfPayerIdNotSetInModel
shouldRequestAuthorizeTokenIfPayerIdNotSetInModel
shouldRequestConfirmOrderActionIfCheckoutStatusNotInitiatedAndPayerIdSetInModelAndUserActionNotCommit
shouldRequestDoExpressCheckoutGatewayActionIfCheckoutStatusNotInitiatedAndPayerIdSetInModelAndUserActionCommit
shouldRequestSetExpressCheckoutActionAndAuthorizeActionIfTokenNotSetInModel
shouldSetTokenTargetUrlAsCancelUrlIfCapturePassedWithToken
shouldSetTokenTargetUrlAsReturnUrlIfCapturePassedWithToken
shouldSetZeroGatewayActionAsSell