Sylius\Behat\Context\Ui\Admin\ManagingProductVariantsContext::iShouldBeNotifiedThatPriceCannotBeLowerThen PHP Method

iShouldBeNotifiedThatPriceCannotBeLowerThen() public method

    public function iShouldBeNotifiedThatPriceCannotBeLowerThen()
    {
        /** @var CreatePageInterface|UpdatePageInterface $currentPage */
        $currentPage = $this->currentPageResolver->getCurrentPageWithForm([$this->createPage, $this->updatePage]);
        Assert::same($currentPage->getFirstPriceValidationMessage(), 'Price must be at least 0.01.');
    }
ManagingProductVariantsContext