public function getItemTax($itemName);
/** * @Then /^(its) tax should be ([^"]+)$/ */ public function itemTaxShouldBe($itemName, $tax) { $itemTaxOnPage = $this->showPage->getItemTax($itemName); Assert::eq($itemTaxOnPage, $tax, 'Item tax is %s, but should be %s.'); }