6 declare(strict_types=1);
15 use PHPUnit\Framework\TestCase;
27 private $storeManager;
32 private $storeCodeBefore;
43 $this->storeCodeBefore = $this->storeManager->getStore()->getCode();
63 $this->storeManager->setCurrentStore(
$storeCode);
71 $this->stockHelper->addStockStatusToProducts(
$collection);
86 'store_for_eu_website',
94 'store_for_us_website',
101 'global_website' => [
102 'store_for_global_website',
117 $this->storeManager->setCurrentStore($this->storeCodeBefore);
addStockStatusToProductsDataProvider()
static getObjectManager()