/**
  * @Then I should be notified that at least two option values are required
  */
 public function iShouldBeNotifiedThatAtLeastTwoOptionValuesAreRequired()
 {
     Assert::true($this->createPage->checkValidationMessageForOptionValues('Please add at least 2 option values.'), 'I should be notified that product option needs at least two option values.');
 }
 /**
  * @param string $element
  * @param string $expectedMessage
  */
 private function assertFieldValidationMessage($element, $expectedMessage)
 {
     Assert::true($this->createPage->checkValidationMessageFor($element, $expectedMessage), sprintf('Product option %s should be required.', $element));
 }