public hasItemWithCode ( string $code ) : boolean | ||
$code | string | |
return | boolean |
/** * @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)); }