PHP Класс Payum\Klarna\Checkout\Tests\Action\AuthorizeActionTest

Наследование: extends PHPUnit_Framework_TestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
couldBeConstructedWithoutAnyArguments ( )
shouldGeneratePushUriIfNotSet ( )
shouldImplementActionInterface ( )
shouldImplementGatewayAwareInterface ( )
shouldImplementsApiAwareInterface ( )
shouldImplementsGenericTokenFactoryAwareInterface ( )
shouldNotSupportAnythingNotAuthorize ( )
shouldNotSupportAuthorizeWithNotArrayAccessModel ( )
shouldNotThrowReplyWhenStatusCreated ( )
shouldNotThrowReplyWhenStatusNotSet ( )
shouldSubExecuteCreateOrderRequestIfStatusAndLocationNotSet ( )
shouldSubExecuteSyncIfModelHasLocationSet ( )
shouldSupportAuthorizeWithArrayAsModel ( )
shouldThrowIfCheckoutUriNotSetNeitherInConfigNorPayment ( )
shouldThrowIfConfirmUriNotSet ( )
shouldThrowIfPushUriNotSet ( )
shouldThrowIfTermsUriNotSetNeitherInConfigNorPayment ( )
shouldThrowReplyWhenStatusCheckoutIncomplete ( )
shouldUseCheckoutUriFromConfig ( )
shouldUseTargetUrlFromRequestTokenAsConfirmationIfNotSet ( )
shouldUseTermsUriFromConfig ( )
throwIfNotSupportedRequestGivenAsArgumentOnExecute ( )

Защищенные методы

Метод Описание
createGatewayMock ( ) : PHPUnit_Framework_MockObject_MockObject | Payum\Core\GatewayInterface
createOrderMock ( ) : PHPUnit_Framework_MockObject_MockObject | Klarna_Checkout_Order

Описание методов

couldBeConstructedWithoutAnyArguments() публичный Метод

createGatewayMock() защищенный Метод

protected createGatewayMock ( ) : PHPUnit_Framework_MockObject_MockObject | Payum\Core\GatewayInterface
Результат PHPUnit_Framework_MockObject_MockObject | Payum\Core\GatewayInterface

createOrderMock() защищенный Метод

protected createOrderMock ( ) : PHPUnit_Framework_MockObject_MockObject | Klarna_Checkout_Order
Результат PHPUnit_Framework_MockObject_MockObject | Klarna_Checkout_Order

shouldGeneratePushUriIfNotSet() публичный Метод

shouldImplementActionInterface() публичный Метод

shouldImplementGatewayAwareInterface() публичный Метод

shouldImplementsApiAwareInterface() публичный Метод

shouldImplementsGenericTokenFactoryAwareInterface() публичный Метод

shouldNotSupportAnythingNotAuthorize() публичный Метод

shouldNotSupportAuthorizeWithNotArrayAccessModel() публичный Метод

shouldNotThrowReplyWhenStatusCreated() публичный Метод

shouldNotThrowReplyWhenStatusNotSet() публичный Метод

shouldSubExecuteCreateOrderRequestIfStatusAndLocationNotSet() публичный Метод

shouldSubExecuteSyncIfModelHasLocationSet() публичный Метод

shouldSupportAuthorizeWithArrayAsModel() публичный Метод

shouldThrowIfCheckoutUriNotSetNeitherInConfigNorPayment() публичный Метод

shouldThrowIfConfirmUriNotSet() публичный Метод

shouldThrowIfPushUriNotSet() публичный Метод

shouldThrowIfTermsUriNotSetNeitherInConfigNorPayment() публичный Метод

shouldThrowReplyWhenStatusCheckoutIncomplete() публичный Метод

shouldUseCheckoutUriFromConfig() публичный Метод

shouldUseTargetUrlFromRequestTokenAsConfirmationIfNotSet() публичный Метод

shouldUseTermsUriFromConfig() публичный Метод

throwIfNotSupportedRequestGivenAsArgumentOnExecute() публичный Метод