public hasProductUnitPrice ( Sylius\Component\Core\Model\ProductInterface $product, string $price ) : boolean | ||
$product | Sylius\Component\Core\Model\ProductInterface | |
$price | string | |
return | boolean |
public function hasProductUnitPrice(ProductInterface $product, $price);
/** * @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)); }