public getPricesValidationMessage ( string $position ) : string | ||
$position | string | |
return | string |
public function getPricesValidationMessage($position);
/** * @Then /^I should be notified that prices in all channels must be defined for the (\d)(?:st|nd|rd|th) variant$/ */ public function iShouldBeNotifiedThatPricesInAllChannelsMustBeDefinedForTheVariant($position) { Assert::same($this->generatePage->getPricesValidationMessage($position - 1), 'You must define price for every channel.'); }