/**
  * @Then /^(this product) main taxon should be "([^"]+)"$/
  */
 public function thisProductMainTaxonShouldBe(ProductInterface $product, $taxonName)
 {
     /** @var UpdatePageInterface $currentPage */
     $currentPage = $this->currentPageResolver->getCurrentPageWithForm([$this->updateSimpleProductPage, $this->updateConfigurableProductPage], $this->sharedStorage->get('product'));
     $currentPage->open(['id' => $product->getId()]);
     Assert::true($this->updateConfigurableProductPage->isMainTaxonChosen($taxonName), sprintf('The main taxon %s should be chosen, but it does not.', $taxonName));
 }
 /**
  * @Then /^(this product) main taxon should be "([^"]+)"$/
  */
 public function thisProductMainTaxonShouldBe(ProductInterface $product, $taxonName)
 {
     /** @var UpdatePageInterface $currentPage */
     $currentPage = $this->resolveCurrentPage();
     $currentPage->open(['id' => $product->getId()]);
     Assert::true($this->updateConfigurableProductPage->isMainTaxonChosen($taxonName), sprintf('The main taxon %s should be chosen, but it does not.', $taxonName));
 }