PHP Class Payum\Paypal\ExpressCheckout\Nvp\Tests\Action\AutorizeActionTest

Inheritance: extends Payum\Core\Tests\GenericActionTest
Datei anzeigen Open project: payum/payum

Protected Properties

Property Type Description
$actionClass
$requestClass

Public Methods

Method Description
shouldAddNotifyUrlIfTokenFactorySetAndCaptureTokenPassed ( )
shouldForcePaymentActionAuthorization ( )
shouldImplementActionInterface ( )
shouldImplementGatewayAwareInterface ( )
shouldNotAddNotifyUrlIfAlreadySet ( )
shouldNotAddNotifyUrlIfCaptureTokenNotSet ( )
shouldNotAddNotifyUrlIfPaypalTokenAlreadySet ( )
shouldNotAddNotifyUrlIfTokenFactoryNotSet ( )
shouldNotExecuteAnythingIfSetExpressCheckoutActionFails ( )
shouldNotLooseExistingGetParamWhenSettingTargetUrlAsCancelUrl ( )
shouldNotRequestAuthorizeActionIfPayerIdSetInModel ( )
shouldNotRequestDoExpressCheckoutGatewayActionIfAmountZero ( )
shouldNotRequestDoExpressCheckoutGatewayActionIfCheckoutStatusOtherThenNotInitiatedSetInModel ( )
shouldNotRequestSetExpressCheckoutActionAndAuthorizeActionIfTokenSetInModel ( )
shouldRequestAuthorizeActionIfPayerIdNotSetInModel ( )
shouldRequestAuthorizeTokenIfPayerIdNotSetInModel ( )
shouldRequestConfirmOrderActionIfCheckoutStatusNotInitiatedAndPayerIdSetInModelAndUserActionNotCommit ( )
shouldRequestDoExpressCheckoutGatewayActionIfCheckoutStatusNotInitiatedAndPayerIdSetInModelAndUserActionCommit ( )
shouldRequestSetExpressCheckoutActionAndAuthorizeActionIfTokenNotSetInModel ( )
shouldSetTokenTargetUrlAsCancelUrlIfCapturePassedWithToken ( )
shouldSetTokenTargetUrlAsReturnUrlIfCapturePassedWithToken ( )
shouldSetZeroGatewayActionAsSell ( )

Protected Methods

Method Description
createGatewayMock ( ) : PHPUnit_Framework_MockObject_MockObject | Payum\Core\GatewayInterface

Method Details

createGatewayMock() protected method

protected createGatewayMock ( ) : PHPUnit_Framework_MockObject_MockObject | Payum\Core\GatewayInterface
return PHPUnit_Framework_MockObject_MockObject | Payum\Core\GatewayInterface

shouldAddNotifyUrlIfTokenFactorySetAndCaptureTokenPassed() public method

shouldForcePaymentActionAuthorization() public method

shouldImplementActionInterface() public method

shouldImplementGatewayAwareInterface() public method

shouldNotAddNotifyUrlIfAlreadySet() public method

shouldNotAddNotifyUrlIfCaptureTokenNotSet() public method

shouldNotAddNotifyUrlIfPaypalTokenAlreadySet() public method

shouldNotAddNotifyUrlIfTokenFactoryNotSet() public method

shouldNotExecuteAnythingIfSetExpressCheckoutActionFails() public method

shouldNotLooseExistingGetParamWhenSettingTargetUrlAsCancelUrl() public method

shouldNotRequestAuthorizeActionIfPayerIdSetInModel() public method

shouldNotRequestDoExpressCheckoutGatewayActionIfAmountZero() public method

shouldNotRequestDoExpressCheckoutGatewayActionIfCheckoutStatusOtherThenNotInitiatedSetInModel() public method

shouldNotRequestSetExpressCheckoutActionAndAuthorizeActionIfTokenSetInModel() public method

shouldRequestAuthorizeActionIfPayerIdNotSetInModel() public method

shouldRequestAuthorizeTokenIfPayerIdNotSetInModel() public method

shouldRequestConfirmOrderActionIfCheckoutStatusNotInitiatedAndPayerIdSetInModelAndUserActionNotCommit() public method

shouldRequestDoExpressCheckoutGatewayActionIfCheckoutStatusNotInitiatedAndPayerIdSetInModelAndUserActionCommit() public method

shouldRequestSetExpressCheckoutActionAndAuthorizeActionIfTokenNotSetInModel() public method

shouldSetTokenTargetUrlAsCancelUrlIfCapturePassedWithToken() public method

shouldSetTokenTargetUrlAsReturnUrlIfCapturePassedWithToken() public method

shouldSetZeroGatewayActionAsSell() public method

Property Details

$actionClass protected_oe property

protected $actionClass

$requestClass protected_oe property

protected $requestClass