getItemDiscount() 공개 메소드

public getItemDiscount ( string $itemName ) : string
$itemName string
리턴 string
예제 #1
0
 /**
  * @Then /^(its) discount should be ([^"]+)$/
  * @Then the :itemName should have :discount discount
  */
 public function theItemShouldHaveDiscount($itemName, $discount)
 {
     $itemDiscountOnPage = $this->showPage->getItemDiscount($itemName);
     Assert::eq($itemDiscountOnPage, $discount, 'Item discount is %s, but should be %s.');
 }