Open Monograph Press
3.3.0
|
Definition at line 10 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::setUp | ( | ) |
Definition at line 12 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testAmount | ( | ) |
Definition at line 88 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testAmountInvalidFormatThrowsException | ( | ) |
@expectedException Omnipay\Common\Exception\InvalidRequestException
Definition at line 228 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testAmountInvalidTypeThrowsException | ( | ) |
@expectedException Omnipay\Common\Exception\InvalidRequestException
Definition at line 237 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testAmountNegativeFloatThrowsException | ( | ) |
@expectedException Omnipay\Common\Exception\InvalidRequestException
Definition at line 255 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testAmountNegativeStringThrowsException | ( | ) |
@expectedException Omnipay\Common\Exception\InvalidRequestException
Definition at line 246 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testAmountPrecision | ( | ) |
Definition at line 130 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testAmountPrecisionTooHigh | ( | ) |
@expectedException Omnipay\Common\Exception\InvalidRequestException
We still want to catch obvious fractions of the minor units that are not precision errors at a much lower level.
Definition at line 158 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testAmountThousandsSepThrowsException | ( | ) |
@expectedException Omnipay\Common\Exception\InvalidRequestException
Definition at line 219 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testAmountWithEmpty | ( | ) |
Definition at line 100 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testAmountWithFloat | ( | ) |
Definition at line 94 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testAmountWithIntStringThrowsException | ( | ) |
@expectedException Omnipay\Common\Exception\InvalidRequestException
Definition at line 195 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testAmountWithIntThrowsException | ( | ) |
@expectedException Omnipay\Common\Exception\InvalidRequestException
Definition at line 185 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testAmountZeroFloat | ( | ) |
Definition at line 106 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testAmountZeroNotAllowed | ( | ) |
@expectedException Omnipay\Common\Exception\InvalidRequestException @expectedExceptionMessage A zero amount is not allowed.
Definition at line 122 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testAmountZeroString | ( | ) |
Definition at line 112 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testCancelUrl | ( | ) |
Definition at line 356 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testCanValidateExistingParameters | ( | ) |
Definition at line 413 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testCard | ( | ) |
Definition at line 58 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testCardReference | ( | ) |
Definition at line 82 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testClientIp | ( | ) |
Definition at line 344 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testConstruct | ( | ) |
Definition at line 34 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testCurrency | ( | ) |
Definition at line 261 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testCurrencyDecimals | ( | ) |
Definition at line 285 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testCurrencyLowercase | ( | ) |
Definition at line 267 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testCurrencyNull | ( | ) |
Definition at line 273 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testCurrencyNumeric | ( | ) |
Definition at line 279 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testDescription | ( | ) |
Definition at line 302 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testFormatCurrency | ( | ) |
Definition at line 291 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testFormatCurrencyNoDecimals | ( | ) |
Definition at line 296 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testGetAmountInteger | ( | ) |
Definition at line 203 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testGetAmountIntegerNoDecimals | ( | ) |
Definition at line 209 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testGetAmountNoDecimals | ( | ) |
Definition at line 164 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testGetAmountNoDecimalsRounding | ( | ) |
@expectedException Omnipay\Common\Exception\InvalidRequestException
Definition at line 174 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testGetParameters | ( | ) |
Definition at line 389 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testGetResponseAfterRequestSent | ( | ) |
Definition at line 457 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testGetResponseBeforeRequestSent | ( | ) |
@expectedException \Omnipay\Common\Exception\RuntimeException @expectedExceptionMessage You must call send() before accessing the Response!
Definition at line 451 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testInitializeAfterRequestSent | ( | ) |
@expectedException \Omnipay\Common\Exception\RuntimeException @expectedExceptionMessage Request cannot be modified after it has been sent!
Definition at line 50 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testInitializedParametersAreSet | ( | ) |
Definition at line 380 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testInitializeWithParams | ( | ) |
Definition at line 40 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testInvalidParametersThrowsException | ( | ) |
@expectedException \Omnipay\Common\Exception\InvalidRequestException
Definition at line 424 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testIssuer | ( | ) |
Definition at line 368 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testItemsArray | ( | ) |
Definition at line 320 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testItemsBag | ( | ) |
Definition at line 335 of file AbstractRequestTest.php.
References Omnipay\Common\ItemBag\add().
Omnipay\Common\Message\AbstractRequestTest::testNoCurrencyReturnedIfCurrencyNotSet | ( | ) |
Definition at line 431 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testNotifyUrl | ( | ) |
Definition at line 362 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testPaymentMethod | ( | ) |
Definition at line 374 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testReturnUrl | ( | ) |
Definition at line 350 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testSend | ( | ) |
Definition at line 436 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testSetCardWithArray | ( | ) |
Definition at line 66 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testSetParameterAfterRequestSent | ( | ) |
@expectedException \Omnipay\Common\Exception\RuntimeException @expectedExceptionMessage Request cannot be modified after it has been sent!
Definition at line 405 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testToken | ( | ) |
Definition at line 76 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testTransactionId | ( | ) |
Definition at line 308 of file AbstractRequestTest.php.
Omnipay\Common\Message\AbstractRequestTest::testTransactionReference | ( | ) |
Definition at line 314 of file AbstractRequestTest.php.