public function iShouldSeeProduct($productName) { Assert::true($this->indexPage->isProductOnList($productName), sprintf("The product %s should appear on page, but it does not.", $productName)); }