PHP Class Payum\Paypal\ProHosted\Nvp\Tests\Action\SyncActionTest

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

Public Methods

Method Description
couldBeConstructedWithoutAnyArguments ( )
shouldImplementActionInterface ( )
shouldImplementGatewayAwareInterface ( )
shouldNotSupportAnythingNotSync ( )
shouldRequestGetTransactionDetailsAndUpdateModelIfTransactionIdSetInModel ( )
shouldSupportSyncAndArrayAsModelWhichHasPaymentRequestAmountSet ( )
shouldSupportSyncAndArrayAsModelWhichHasPaymentRequestAmountSetToZero ( )
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

shouldImplementActionInterface() public method

shouldImplementGatewayAwareInterface() public method

shouldNotSupportAnythingNotSync() public method

shouldRequestGetTransactionDetailsAndUpdateModelIfTransactionIdSetInModel() public method

shouldSupportSyncAndArrayAsModelWhichHasPaymentRequestAmountSet() public method

shouldSupportSyncAndArrayAsModelWhichHasPaymentRequestAmountSetToZero() public method

throwIfNotSupportedRequestGivenAsArgumentForExecute() public method