/** * @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.'); }