6 declare(strict_types=1);
12 use PHPUnit\Framework\TestCase;
19 private $getDefaultSourceItemBySku;
35 $this->getDefaultSourceItemBySku->execute(
'SKU-1'),
36 'Unable to find default source_item for a product assigned to Default source only' 39 $this->getDefaultSourceItemBySku->execute(
'SKU-2'),
40 'Unable to find default source_item for a product assigned to Default source and others' 52 $this->getDefaultSourceItemBySku->execute(
'SKU-1'),
53 'Returned a wrong default source_item for a product assigned elsewhere' testExecuteOnDefaultSource()
testExecuteOnNonDefaultSource()
static getObjectManager()