/** * @Then the order's items total should be :itemsTotal */ public function theOrdersItemsTotalShouldBe($itemsTotal) { $itemsTotalOnPage = $this->showPage->getItemsTotal(); Assert::eq($itemsTotalOnPage, $itemsTotal, 'Items total is %s, but should be %s.'); }