Sylius\Behat\Page\Admin\Channel\UpdatePageInterface::isDefaultTaxZoneChosen PHP Method

isDefaultTaxZoneChosen() public method

public isDefaultTaxZoneChosen ( string $taxZone ) : boolean
$taxZone string
return boolean
    public function isDefaultTaxZoneChosen($taxZone);

Usage Example

 /**
  * @Then the default tax zone for the :channel channel should be :taxZone
  */
 public function theDefaultTaxZoneForTheChannelShouldBe(ChannelInterface $channel, $taxZone)
 {
     $this->updatePage->open(['id' => $channel->getId()]);
     Assert::true($this->updatePage->isDefaultTaxZoneChosen($taxZone), sprintf('Default tax zone %s should be selected, but it is not', $taxZone));
 }