isProductInTheList() public method

public isProductInTheList ( string $productName ) : boolean
$productName string
return boolean
Example #1
0
 /**
  * @Then the product named :productName should be in the items list
  */
 public function theProductShouldBeInTheItemsList($productName)
 {
     Assert::true($this->showPage->isProductInTheList($productName), sprintf('Product %s is not in the item list.', $productName));
 }