Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Payum
Paypal
ExpressCheckout
Nvp
Tests
Action
AutorizeActionTest
createGatewayMock
Payum\Paypal\ExpressCheckout\Nvp\Tests\Action\AutorizeActionTest::createGatewayMock PHP Метод
Документация по классу AutorizeActionTest
Показать файл
Открыть проект
createGatewayMock()
защищенный
Метод
protected
createGatewayMock
( ) :
PHPUnit_Framework_MockObject_MockObject | Payum\Core\GatewayInterface
Результат
PHPUnit_Framework_MockObject_MockObject | Payum\Core\GatewayInterface
protected function createGatewayMock() { return $this->getMock(GatewayInterface::class); }
AutorizeActionTest
createGatewayMock
shouldAddNotifyUrlIfTokenFactorySetAndCaptureTokenPassed
shouldForcePaymentActionAuthorization
shouldImplementActionInterface
shouldImplementGatewayAwareInterface
shouldNotAddNotifyUrlIfAlreadySet
shouldNotAddNotifyUrlIfCaptureTokenNotSet
shouldNotAddNotifyUrlIfPaypalTokenAlreadySet
shouldNotAddNotifyUrlIfTokenFactoryNotSet
shouldNotExecuteAnythingIfSetExpressCheckoutActionFails
shouldNotLooseExistingGetParamWhenSettingTargetUrlAsCancelUrl
shouldNotRequestAuthorizeActionIfPayerIdSetInModel
shouldNotRequestDoExpressCheckoutGatewayActionIfAmountZero
shouldNotRequestDoExpressCheckoutGatewayActionIfCheckoutStatusOtherThenNotInitiatedSetInModel
shouldNotRequestSetExpressCheckoutActionAndAuthorizeActionIfTokenSetInModel
shouldRequestAuthorizeActionIfPayerIdNotSetInModel
shouldRequestAuthorizeTokenIfPayerIdNotSetInModel
shouldRequestConfirmOrderActionIfCheckoutStatusNotInitiatedAndPayerIdSetInModelAndUserActionNotCommit
shouldRequestDoExpressCheckoutGatewayActionIfCheckoutStatusNotInitiatedAndPayerIdSetInModelAndUserActionCommit
shouldRequestSetExpressCheckoutActionAndAuthorizeActionIfTokenNotSetInModel
shouldSetTokenTargetUrlAsCancelUrlIfCapturePassedWithToken
shouldSetTokenTargetUrlAsReturnUrlIfCapturePassedWithToken
shouldSetZeroGatewayActionAsSell