示例#1
0
 public function testPrepareAddressInfo()
 {
     $this->_profile->setData('billing_address_info', array('city' => 'Los Angeles'));
     $this->_block->prepareAddressInfo();
     $info = $this->_block->getRenderedInfo();
     $this->assertContains('Los Angeles', $info[0]->getValue());
 }