/** * @Given /^the ("[^"]+" product variant) is tracked by the inventory$/ */ public function theProductVariantIsTrackedByTheInventory(ProductVariantInterface $productVariant) { $productVariant->setTracked(true); $this->objectManager->flush(); }