public getItemTotal ( string $itemName ) : string | ||
$itemName | string | |
Результат | string |
/** * @Then /^(its) total should be ([^"]+)$/ */ public function itemTotalShouldBe($itemName, $total) { $itemTotalOnPage = $this->showPage->getItemTotal($itemName); Assert::eq($itemTotalOnPage, $total, 'Item total is %s, but should be %s.'); }