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

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: payum/payum

Public Methods

Method Description
couldBeConstructedWithoutAnyArguments ( )
shouldExecuteDoVoidIfTransactionIdSet ( )
shouldImplementActionInterface ( )
shouldImplementGatewayAwareInterface ( )
shouldNotExecuteDoVoidIfTransactionIdNotSet ( )
shouldNotSupportAnythingNotCancelRequest ( )
shouldNotSupportCancelRequestWithNoArrayAccessAsModel ( )
shouldSupportCancelRequestWithArrayAsModelWhichHasPendingReasonAsAuthorized ( )
shouldSupportCancelRequestWithArrayAsModelWhichHasPendingReasonAsOtherThanAuthorized ( )
shouldSupportEmptyModel ( )
throwIfNotSupportedRequestGivenAsArgumentForExecute ( )

Protected Methods

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

Method Details

couldBeConstructedWithoutAnyArguments() public method

createGatewayMock() protected method

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

shouldExecuteDoVoidIfTransactionIdSet() public method

shouldImplementActionInterface() public method

shouldImplementGatewayAwareInterface() public method

shouldNotExecuteDoVoidIfTransactionIdNotSet() public method

shouldNotSupportAnythingNotCancelRequest() public method

shouldNotSupportCancelRequestWithNoArrayAccessAsModel() public method

shouldSupportCancelRequestWithArrayAsModelWhichHasPendingReasonAsAuthorized() public method

shouldSupportCancelRequestWithArrayAsModelWhichHasPendingReasonAsOtherThanAuthorized() public method

shouldSupportEmptyModel() public method

throwIfNotSupportedRequestGivenAsArgumentForExecute() public method