public function hasOrderTotal($total);
/** * @Then /^my order total should be ("(?:\£|\$)\d+")$/ */ public function myOrderTotalShouldBe($total) { Assert::true($this->completePage->hasOrderTotal($total), sprintf('Order total should have %s total, but it does not have.', $total)); }