/** * @Given /^(product "[^"]+") belongs to ("[^"]+" tax category)$/ */ public function productBelongsToTaxCategory(ProductInterface $product, TaxCategoryInterface $taxCategory) { $product->setTaxCategory($taxCategory); $this->productManager->flush($product); }
/** * @Given /^(product "[^"]+") belongs to ("[^"]+" tax category)$/ */ public function productBelongsToTaxCategory(ProductInterface $product, TaxCategoryInterface $taxCategory) { $product->setTaxCategory($taxCategory); }