/** * @Then I should be notified that tax rate with this code already exists */ public function iShouldBeNotifiedThatTaxRateWithThisCodeAlreadyExists() { Assert::same($this->createPage->getValidationMessage('code'), 'The tax rate with given code already exists.'); }