27 protected function setUp()
32 \
Magento\Customer\Api\CustomerRepositoryInterface::class
37 $customerSession = $this->_objectManager->get(\
Magento\Customer\Model\Session::class);
46 $checkoutSession = $this->_objectManager->get(\
Magento\Checkout\Model\Session::class);
47 $checkoutSession->setQuoteId(
$quote->getId());
48 $checkoutSession->setLoadInactive(
true);
50 $this->_addresses = $this->_objectManager->create(
65 'label' =>
'John Smith, Green str, 67, CityM, Alabama 75477, United States',
69 $addressAsHtml = $this->_addresses->getAddressOptions();
70 $this->assertEquals($expectedResult, $addressAsHtml);
const FIXTURE_CUSTOMER_ID
static getObjectManager()