PHP Class Payum\AuthorizeNet\Aim\Tests\Action\CaptureActionTest

Inheritance: extends Payum\Core\Tests\GenericActionTest, use trait Payum\Core\Tests\SkipOnPhp7Trait
Datei anzeigen Open project: payum/payum

Protected Properties

Property Type Description
$actionClass
$requestClass

Public Methods

Method Description
shouldAllowSetApi ( )
shouldCaptureWithCreditCardSetExplicitly ( )
shouldCaptureWithObtainedCreditCard ( )
shouldDoNothingIfResponseCodeSet ( )
shouldImplementActionInterface ( )
shouldImplementApiAwareInterface ( )
shouldImplementGatewayAwareInterface ( )
shouldPassFirstAndCurrentModelsWithObtainCreditCardSubRequest ( )
throwIfCreditCardNotSetExplicitlyAndObtainRequestNotSupportedOnCapture ( )
throwIfUnsupportedApiGiven ( )

Protected Methods

Method Description
createAuthorizeNetAIMMock ( ) : PHPUnit_Framework_MockObject_MockObject | Payum\AuthorizeNet\Aim\Bridge\AuthorizeNet\AuthorizeNetAIM
createAuthorizeNetAIMResponseMock ( ) : PHPUnit_Framework_MockObject_MockObject | AuthorizeNetAIM_Response
createGatewayMock ( ) : PHPUnit_Framework_MockObject_MockObject | Payum\Core\GatewayInterface

Method Details

createAuthorizeNetAIMMock() protected method

protected createAuthorizeNetAIMMock ( ) : PHPUnit_Framework_MockObject_MockObject | Payum\AuthorizeNet\Aim\Bridge\AuthorizeNet\AuthorizeNetAIM
return PHPUnit_Framework_MockObject_MockObject | Payum\AuthorizeNet\Aim\Bridge\AuthorizeNet\AuthorizeNetAIM

createAuthorizeNetAIMResponseMock() protected method

protected createAuthorizeNetAIMResponseMock ( ) : PHPUnit_Framework_MockObject_MockObject | AuthorizeNetAIM_Response
return PHPUnit_Framework_MockObject_MockObject | AuthorizeNetAIM_Response

createGatewayMock() protected method

protected createGatewayMock ( ) : PHPUnit_Framework_MockObject_MockObject | Payum\Core\GatewayInterface
return PHPUnit_Framework_MockObject_MockObject | Payum\Core\GatewayInterface

shouldAllowSetApi() public method

public shouldAllowSetApi ( )

shouldCaptureWithCreditCardSetExplicitly() public method

shouldCaptureWithObtainedCreditCard() public method

shouldDoNothingIfResponseCodeSet() public method

shouldImplementActionInterface() public method

shouldImplementApiAwareInterface() public method

shouldImplementGatewayAwareInterface() public method

shouldPassFirstAndCurrentModelsWithObtainCreditCardSubRequest() public method

throwIfCreditCardNotSetExplicitlyAndObtainRequestNotSupportedOnCapture() public method

throwIfUnsupportedApiGiven() public method

Property Details

$actionClass protected_oe property

protected $actionClass

$requestClass protected_oe property

protected $requestClass