public function getTotal();
/** * @Then /^the order's total should(?:| still) be "([^"]+)"$/ */ public function theOrdersTotalShouldBe($total) { $totalOnPage = $this->showPage->getTotal(); Assert::eq($totalOnPage, $total, 'Total is %s, but should be %s.'); }