Sylius\Behat\Context\Ui\Shop\CartContext::iShouldBeNotifiedThatThisProductDoesNotHaveSufficientStock PHP Method

iShouldBeNotifiedThatThisProductDoesNotHaveSufficientStock() public method

public iShouldBeNotifiedThatThisProductDoesNotHaveSufficientStock ( Sylius\Component\Product\Model\ProductInterface $product )
$product Sylius\Component\Product\Model\ProductInterface
    public function iShouldBeNotifiedThatThisProductDoesNotHaveSufficientStock(ProductInterface $product)
    {
        Assert::true($this->summaryPage->hasProductOutOfStockValidationMessage($product), sprintf('I should see validation message for %s product', $product->getName()));
    }