/** * @Then /^the order's tax total should(?:| still) be "([^"]+)"$/ */ public function theOrdersTaxTotalShouldBe($taxTotal) { $taxTotalOnPage = $this->showPage->getTaxTotal(); Assert::eq($taxTotal, $taxTotalOnPage, sprintf('Tax total is "%s", but should be "%s".', $taxTotalOnPage, $taxTotal)); }