hasProductUnitPrice() 공개 메소드

public hasProductUnitPrice ( Sylius\Component\Core\Model\ProductInterface $product, string $price ) : boolean
$product Sylius\Component\Core\Model\ProductInterface
$price string
리턴 boolean
예제 #1
0
 /**
  * @Then the :product product should have unit price :price
  */
 public function theProductShouldHaveUnitPrice(ProductInterface $product, $price)
 {
     Assert::true($this->completePage->hasProductUnitPrice($product, $price), sprintf('Product %s should have unit price %s, but it does not have.', $product->getName(), $price));
 }