public getValidationMessageForImage ( ) : string | ||
Результат | string |
/** * @Then I should be notified that the image with this code already exists */ public function iShouldBeNotifiedThatTheImageWithThisCodeAlreadyExists() { Assert::same($this->updatePage->getValidationMessageForImage('code'), 'Image code must be unique within this taxon.'); }
/** * @Then I should be notified that an image code is required */ public function iShouldBeNotifiedThatAnImageCodeIsRequired() { Assert::same($this->updatePage->getValidationMessageForImage(), 'Please enter an image code.'); }