예제 #1
0
 /**
  * Export customer address from quote address
  */
 public function testExportCustomerAddressData()
 {
     $street = array('Street1');
     $company = 'TestCompany';
     $this->_address->setStreet($street);
     $this->_address->setCompany($company);
     $customerAddress = $this->_address->exportCustomerAddressData();
     $this->assertEquals($street, $customerAddress->getStreet(), 'Street was exported incorrectly.');
     $this->assertEquals($company, $customerAddress->getCompany(), 'Company was exported incorrectly.');
 }