PHP Class Payum\Paypal\ProHosted\Nvp\Tests\Action\Api\CreateButtonPaymentActionTest

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

Public Methods

Method Description
couldBeConstructedWithoutAnyArguments ( )
shouldImplementsApiAwareAction ( )
shouldNotSupportAnythingNotCreateButtonPaymentRequest ( )
shouldSupportCreateButtonPaymentRequestAndArrayAccessAsModel ( )
throwIfModelNotHavePaymentAmountOrCurrencySet ( )
throwIfNotSupportedRequestGivenAsArgumentForExecute ( )

Protected Methods

Method Description
createApiMock ( ) : PHPUnit_Framework_MockObject_MockObject | Api

Method Details

couldBeConstructedWithoutAnyArguments() public method

createApiMock() protected method

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

shouldImplementsApiAwareAction() public method

shouldNotSupportAnythingNotCreateButtonPaymentRequest() public method

shouldSupportCreateButtonPaymentRequestAndArrayAccessAsModel() public method

throwIfModelNotHavePaymentAmountOrCurrencySet() public method

throwIfNotSupportedRequestGivenAsArgumentForExecute() public method