public function provinceWithNameShouldNotBeAdded($provinceName, CountryInterface $country) { $this->updatePage->open(['id' => $country->getId()]); Assert::false($this->updatePage->isThereProvince($provinceName), sprintf('%s is a province of this country.', $provinceName)); }