/** * @param MultishippingCheckoutAddresses $addresses * @param Customer $customer * @param ObjectManager $objectManager * @param array $products */ public function __construct(MultishippingCheckoutAddresses $addresses, Customer $customer, ObjectManager $objectManager, $products) { $this->addresses = $addresses; $this->customer = $customer; $this->products = $products; $this->objectManager = $objectManager; $this->objectManager->configure([\Magento\Customer\Test\Block\Address\Renderer::class => ['shared' => false]]); }