public isLocaleChosen ( string $language ) : boolean | ||
$language | string | |
return | boolean |
/** * @Then the channel :channel should be available in :locale */ public function theChannelShouldBeAvailableIn(ChannelInterface $channel, $locale) { $this->updatePage->open(['id' => $channel->getId()]); Assert::true($this->updatePage->isLocaleChosen($locale), sprintf('Language %s should be selected but it is not', $locale)); }