PHP Class Omnipay\Common\Message\AbstractRequestTest

Inheritance: extends Omnipay\Tests\TestCase
Afficher le fichier Open project: omnipay/common

Méthodes publiques

Méthode Description
setUp ( )
testAmount ( )
testAmountInvalidFormatThrowsException ( )
testAmountInvalidTypeThrowsException ( )
testAmountNegativeFloatThrowsException ( )
testAmountNegativeStringThrowsException ( )
testAmountPrecision ( ) See https://github.com/thephpleague/omnipay-common/issues/69
testAmountPrecisionTooHigh ( )
testAmountThousandsSepThrowsException ( )
testAmountWithEmpty ( )
testAmountWithFloat ( )
testAmountWithIntStringThrowsException ( )
testAmountWithIntThrowsException ( )
testAmountZeroFloat ( )
testAmountZeroNotAllowed ( )
testAmountZeroString ( )
testCanValidateExistingParameters ( )
testCancelUrl ( )
testCard ( )
testCardReference ( )
testClientIp ( )
testConstruct ( )
testCurrency ( )
testCurrencyDecimals ( )
testCurrencyLowercase ( )
testCurrencyNull ( )
testCurrencyNumeric ( )
testDescription ( )
testFormatCurrency ( )
testFormatCurrencyNoDecimals ( )
testGetAmountInteger ( )
testGetAmountIntegerNoDecimals ( )
testGetAmountNoDecimals ( )
testGetAmountNoDecimalsRounding ( )
testGetParameters ( )
testGetResponseAfterRequestSent ( )
testGetResponseBeforeRequestSent ( )
testInitializeAfterRequestSent ( )
testInitializeWithParams ( )
testInitializedParametersAreSet ( )
testInvalidParametersThrowsException ( )
testIssuer ( )
testItemsArray ( )
testItemsBag ( )
testNoCurrencyReturnedIfCurrencyNotSet ( )
testNotifyUrl ( )
testPaymentMethod ( )
testReturnUrl ( )
testSend ( )
testSetCardWithArray ( )
testSetParameterAfterRequestSent ( )
testToken ( )
testTransactionId ( )
testTransactionReference ( )

Private Methods

Méthode Description
changeProtectedProperty ( $property, boolean | true $value = true ) Allow changing a protected property using reflections.

Method Details

setUp() public méthode

public setUp ( )

testAmount() public méthode

public testAmount ( )

testAmountInvalidFormatThrowsException() public méthode

testAmountInvalidTypeThrowsException() public méthode

testAmountNegativeFloatThrowsException() public méthode

testAmountNegativeStringThrowsException() public méthode

testAmountPrecision() public méthode

See https://github.com/thephpleague/omnipay-common/issues/69
public testAmountPrecision ( )

testAmountPrecisionTooHigh() public méthode

testAmountThousandsSepThrowsException() public méthode

testAmountWithEmpty() public méthode

public testAmountWithEmpty ( )

testAmountWithFloat() public méthode

public testAmountWithFloat ( )

testAmountWithIntStringThrowsException() public méthode

testAmountWithIntThrowsException() public méthode

testAmountZeroFloat() public méthode

public testAmountZeroFloat ( )

testAmountZeroNotAllowed() public méthode

testAmountZeroString() public méthode

testCanValidateExistingParameters() public méthode

testCancelUrl() public méthode

public testCancelUrl ( )

testCard() public méthode

public testCard ( )

testCardReference() public méthode

public testCardReference ( )

testClientIp() public méthode

public testClientIp ( )

testConstruct() public méthode

public testConstruct ( )

testCurrency() public méthode

public testCurrency ( )

testCurrencyDecimals() public méthode

testCurrencyLowercase() public méthode

testCurrencyNull() public méthode

public testCurrencyNull ( )

testCurrencyNumeric() public méthode

public testCurrencyNumeric ( )

testDescription() public méthode

public testDescription ( )

testFormatCurrency() public méthode

public testFormatCurrency ( )

testFormatCurrencyNoDecimals() public méthode

testGetAmountInteger() public méthode

testGetAmountIntegerNoDecimals() public méthode

testGetAmountNoDecimals() public méthode

testGetAmountNoDecimalsRounding() public méthode

testGetParameters() public méthode

public testGetParameters ( )

testGetResponseAfterRequestSent() public méthode

testGetResponseBeforeRequestSent() public méthode

testInitializeAfterRequestSent() public méthode

testInitializeWithParams() public méthode

testInitializedParametersAreSet() public méthode

testInvalidParametersThrowsException() public méthode

testIssuer() public méthode

public testIssuer ( )

testItemsArray() public méthode

public testItemsArray ( )

testItemsBag() public méthode

public testItemsBag ( )

testNoCurrencyReturnedIfCurrencyNotSet() public méthode

testNotifyUrl() public méthode

public testNotifyUrl ( )

testPaymentMethod() public méthode

public testPaymentMethod ( )

testReturnUrl() public méthode

public testReturnUrl ( )

testSend() public méthode

public testSend ( )

testSetCardWithArray() public méthode

testSetParameterAfterRequestSent() public méthode

testToken() public méthode

public testToken ( )

testTransactionId() public méthode

public testTransactionId ( )

testTransactionReference() public méthode