/**
* @Then I should not be able to shop using the :localeName locale
*/
public function iShouldNotBeAbleToShopUsingTheLocale($localeName)
{
$this->homePage->open();
if (in_array($localeName, $this->homePage->getAvailableLocales(), true)) {
throw new \InvalidArgumentException(sprintf('Expected "%s" not to be in "%s"', $localeName, implode('", "', $this->homePage->getAvailableLocales())));
}
}