isLocaleChosen() public méthode

public isLocaleChosen ( string $language ) : boolean
$language string
Résultat 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));
 }