diff --git a/tests/Omnipay/Common/Message/AbstractRequestTest.php b/tests/Omnipay/Common/Message/AbstractRequestTest.php index abd5e283..f4d751b3 100644 --- a/tests/Omnipay/Common/Message/AbstractRequestTest.php +++ b/tests/Omnipay/Common/Message/AbstractRequestTest.php @@ -199,6 +199,12 @@ public function testGetAmountInteger() $this->assertSame(1366, $this->request->getAmountInteger()); } + public function testGetAmountIntegerNull() + { + $this->assertSame($this->request, $this->request->setAmount(null)); + $this->assertSame(null, $this->request->getAmountInteger()); + } + public function testSetAmountInteger() { $this->assertSame($this->request, $this->request->setAmountInteger(1366));