コード例 #1
0
 /**
  * Test get correlation id
  */
 public function testGetCorrelationId()
 {
     $oResponse = new oePayPalResponseDoCapture();
     $oResponse->setData($this->_getResponseData());
     $this->assertEquals('correlationId', $oResponse->getCorrelationId());
 }
コード例 #2
0
 /**
  * Test get payment status
  */
 public function testGetCurrency()
 {
     $oResponse = new oePayPalResponseDoCapture();
     $oResponse->setData($this->_getResponseData());
     $this->assertEquals('LTL', $oResponse->getCurrency());
 }