/**
  * @Then /^(this locale) should be disabled$/
  */
 public function thisLocaleShouldBeDisabled(LocaleInterface $locale)
 {
     Assert::true($this->indexPage->isLocaleDisabled($locale), sprintf('Locale %s should be disabled but it is not', $locale->getCode()));
 }
 function it_throws_not_equal_exception_if_locale_has_not_proper_status(IndexPageInterface $indexPage, LocaleInterface $locale)
 {
     $indexPage->isLocaleDisabled($locale)->willReturn(false);
     $indexPage->isLocaleEnabled($locale)->willReturn(false);
     $this->shouldThrow(\InvalidArgumentException::class)->during('thisLocaleShouldBeDisabled', [$locale]);
     $this->shouldThrow(\InvalidArgumentException::class)->during('thisLocaleShouldBeEnabled', [$locale]);
 }