getPricesValidationMessage() public method

public getPricesValidationMessage ( string $position ) : string
$position string
return string
コード例 #1
0
 /**
  * @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.');
 }