/** * @Given I should see the product name :name */ public function iShouldSeeProductName($name) { Assert::same($name, $this->showPage->getName(), 'Product should have name %s, but it has %s'); }