/**
  */
 public function testSave_ShippingIdDoNotExistsDeliverySetNotMarkedAsSet_ShippingIdEmpty()
 {
     $oPayPalDeliverySet_Main = $this->_getDeliverySet();
     $oPayPalConfig = new oePayPalConfig();
     $sMobileECDefaultShippingId = $oPayPalConfig->getMobileECDefaultShippingId();
     $this->assertEquals('', $sMobileECDefaultShippingId);
 }
Пример #2
0
 public function testGetMobileECDefaultShippingId_setPayment_paymentId()
 {
     $oConfig = new oePayPalConfig();
     $this->getConfig()->setConfigParam('sOEPayPalMECDefaultShippingId', 'shippingId');
     $this->assertEquals('shippingId', $oConfig->getMobileECDefaultShippingId());
 }