/**
  * @When /^I unset theme on (that channel)$/
  */
 public function iUnsetThemeOnChannel(ChannelInterface $channel)
 {
     $this->channelUpdatePage->open(['id' => $channel->getId()]);
     $this->channelUpdatePage->unsetTheme();
     $this->channelUpdatePage->saveChanges();
 }
 /**
  * @Then the tax calculation strategy for the :channel channel should be :taxCalculationStrategy
  */
 public function theTaxCalculationStrategyForTheChannelShouldBe(ChannelInterface $channel, $taxCalculationStrategy)
 {
     $this->updatePage->open(['id' => $channel->getId()]);
     Assert::true($this->updatePage->isTaxCalculationStrategyChosen($taxCalculationStrategy), sprintf('Tax calculation strategy %s should be selected, but it is not', $taxCalculationStrategy));
 }
 /**
  * @Then the :paymentMethodName payment method should be available for the :channel channel
  */
 public function thePaymentMethodShouldBeAvailableForTheChannel($paymentMethodName, ChannelInterface $channel)
 {
     $this->updatePage->open(['id' => $channel->getId()]);
     Assert::true($this->updatePage->isPaymentMethodChosen($paymentMethodName), sprintf('Payment method %s should be selected but it is not', $paymentMethodName));
 }