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

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

Protected Properties

Property Type Description
$actionClass
$requestClass

Public Methods

Method Description
shouldImplementActionInterface ( )
shouldImplementGatewayAwareInterface ( )
shouldRequestApiCreateButtonPaymentMethodWithExpectedRequiredArguments ( )
throwIfModelNotHavePaymentAmountOrCurrencySet ( )

Protected Methods

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

Method Details

createApiMock() protected method

protected createApiMock ( ) : PHPUnit_Framework_MockObject_MockObject | Api
return PHPUnit_Framework_MockObject_MockObject | Payum\Paypal\ProHosted\Nvp\Api

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

shouldRequestApiCreateButtonPaymentMethodWithExpectedRequiredArguments() public method

throwIfModelNotHavePaymentAmountOrCurrencySet() public method

Property Details

$actionClass protected_oe property

protected $actionClass

$requestClass protected_oe property

protected $requestClass