hasItemWithCode() public method

public hasItemWithCode ( string $code ) : boolean
$code string
return boolean
Esempio n. 1
0
 /**
  * @Then this item should have code :variantCode
  */
 public function thisItemShouldHaveCode($variantCode)
 {
     Assert::true($this->summaryPage->hasItemWithCode($variantCode), sprintf('The product with code %s should appear on the list, but it does not.', $variantCode));
 }