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

Inheritance: extends Payum\Core\Tests\GenericActionTest
Afficher le fichier Open project: payum/payum

Protected Properties

Свойство Type Description
$actionClass
$requestClass

Méthodes publiques

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

Méthodes protégées

Méthode Description
createGatewayMock ( ) : PHPUnit_Framework_MockObject_MockObject | Payum\Core\GatewayInterface

Method Details

createGatewayMock() protected méthode

protected createGatewayMock ( ) : PHPUnit_Framework_MockObject_MockObject | Payum\Core\GatewayInterface
Résultat PHPUnit_Framework_MockObject_MockObject | Payum\Core\GatewayInterface

shouldAddNotifyUrlIfTokenFactorySetAndCaptureTokenPassed() public méthode

shouldForcePaymentActionSale() public méthode

shouldImplementActionInterface() public méthode

shouldImplementGatewayAwareInterface() public méthode

shouldNotAddNotifyUrlIfAlreadySet() public méthode

shouldNotAddNotifyUrlIfCaptureTokenNotSet() public méthode

shouldNotAddNotifyUrlIfPaypalTokenAlreadySet() public méthode

shouldNotAddNotifyUrlIfTokenFactoryNotSet() public méthode

shouldNotExecuteAnythingIfSetExpressCheckoutActionFails() public méthode

shouldNotLooseExistingGetParamWhenSettingTargetUrlAsCancelUrl() public méthode

shouldNotRequestAuthorizeActionIfPayerIdSetInModel() public méthode

shouldNotRequestDoExpressCheckoutGatewayActionIfAmountZero() public méthode

shouldNotRequestDoExpressCheckoutGatewayActionIfCheckoutStatusOtherThenNotInitiatedSetInModel() public méthode

shouldNotRequestSetExpressCheckoutActionAndAuthorizeActionIfTokenSetInModel() public méthode

shouldRequestAuthorizeActionIfPayerIdNotSetInModel() public méthode

shouldRequestAuthorizeTokenIfPayerIdNotSetInModel() public méthode

shouldRequestConfirmOrderActionIfCheckoutStatusNotInitiatedAndPayerIdSetInModelAndUserActionNotCommit() public méthode

shouldRequestDoExpressCheckoutGatewayActionIfCheckoutStatusNotInitiatedAndPayerIdSetInModelAndUserActionCommit() public méthode

shouldRequestSetExpressCheckoutActionAndAuthorizeActionIfTokenNotSetInModel() public méthode

shouldSetTokenTargetUrlAsCancelUrlIfCapturePassedWithToken() public méthode

shouldSetTokenTargetUrlAsReturnUrlIfCapturePassedWithToken() public méthode

shouldSetZeroGatewayActionAsSell() public méthode

Property Details

$actionClass protected_oe property

protected $actionClass

$requestClass protected_oe property

protected $requestClass