public hasItemNamed ( string $name ) : boolean | ||
$name | string | |
return | boolean |
/** * @Then this item should have name :itemName */ public function thisProductShouldHaveName($itemName) { Assert::true($this->summaryPage->hasItemNamed($itemName), sprintf('The product with name %s should appear on the list, but it does not.', $itemName)); }