PHP Class Payum\Klarna\Checkout\Tests\Action\AuthorizeActionTest

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

Public Methods

Method Description
couldBeConstructedWithoutAnyArguments ( )
shouldGeneratePushUriIfNotSet ( )
shouldImplementActionInterface ( )
shouldImplementGatewayAwareInterface ( )
shouldImplementsApiAwareInterface ( )
shouldImplementsGenericTokenFactoryAwareInterface ( )
shouldNotSupportAnythingNotAuthorize ( )
shouldNotSupportAuthorizeWithNotArrayAccessModel ( )
shouldNotThrowReplyWhenStatusCreated ( )
shouldNotThrowReplyWhenStatusNotSet ( )
shouldSubExecuteCreateOrderRequestIfStatusAndLocationNotSet ( )
shouldSubExecuteSyncIfModelHasLocationSet ( )
shouldSupportAuthorizeWithArrayAsModel ( )
shouldThrowIfCheckoutUriNotSetNeitherInConfigNorPayment ( )
shouldThrowIfConfirmUriNotSet ( )
shouldThrowIfPushUriNotSet ( )
shouldThrowIfTermsUriNotSetNeitherInConfigNorPayment ( )
shouldThrowReplyWhenStatusCheckoutIncomplete ( )
shouldUseCheckoutUriFromConfig ( )
shouldUseTargetUrlFromRequestTokenAsConfirmationIfNotSet ( )
shouldUseTermsUriFromConfig ( )
throwIfNotSupportedRequestGivenAsArgumentOnExecute ( )

Protected Methods

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

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

createOrderMock() protected method

protected createOrderMock ( ) : PHPUnit_Framework_MockObject_MockObject | Klarna_Checkout_Order
return PHPUnit_Framework_MockObject_MockObject | Klarna_Checkout_Order

shouldGeneratePushUriIfNotSet() public method

shouldImplementActionInterface() public method

shouldImplementGatewayAwareInterface() public method

shouldImplementsApiAwareInterface() public method

shouldImplementsGenericTokenFactoryAwareInterface() public method

shouldNotSupportAnythingNotAuthorize() public method

shouldNotSupportAuthorizeWithNotArrayAccessModel() public method

shouldNotThrowReplyWhenStatusCreated() public method

shouldNotThrowReplyWhenStatusNotSet() public method

shouldSubExecuteCreateOrderRequestIfStatusAndLocationNotSet() public method

shouldSubExecuteSyncIfModelHasLocationSet() public method

shouldSupportAuthorizeWithArrayAsModel() public method

shouldThrowIfCheckoutUriNotSetNeitherInConfigNorPayment() public method

shouldThrowIfConfirmUriNotSet() public method

shouldThrowIfPushUriNotSet() public method

shouldThrowIfTermsUriNotSetNeitherInConfigNorPayment() public method

shouldThrowReplyWhenStatusCheckoutIncomplete() public method

shouldUseCheckoutUriFromConfig() public method

shouldUseTargetUrlFromRequestTokenAsConfirmationIfNotSet() public method

shouldUseTermsUriFromConfig() public method

throwIfNotSupportedRequestGivenAsArgumentOnExecute() public method