/** * Test case for oePayPalPayPalOrder::addCapturedAmount() * Tests adding amount to PayPal refunded amount * * @return null */ public function testAddCapturedAmountWhenEmpty() { $oOrder = new oePayPalPayPalOrder(); $oOrder->addCapturedAmount(100.29); $oOrder->addCapturedAmount(899.7); $this->assertEquals(999.99, $oOrder->getCapturedAmount()); }