9 use Magento\Checkout\Test\Page\CheckoutCart;
10 use Magento\Mtf\Constraint\AbstractConstraint;
11 use Magento\Mtf\Fixture\FixtureInterface;
33 \PHPUnit\Framework\Assert::assertEquals(
34 sprintf(self::SUCCESS_MESSAGE,
$product->getName()),
35 $checkoutCart->getMessagesBlock()->getSuccessMessage()
46 return 'Add to cart success message is present on Shopping Cart page.';
processAssert(CheckoutCart $checkoutCart, FixtureInterface $product)