9 use Magento\Checkout\Test\Page\CheckoutCart;
10 use Magento\Mtf\Constraint\AbstractConstraint;
32 $checkoutCart->open();
35 \PHPUnit\Framework\Assert::assertEquals(
36 $checkoutCart->getShippingBlock()->isShippingCarrierMethodVisible(
37 $shippingExists[
'shipping_service'],
38 $shippingExists[
'shipping_method']
40 $shippingExists[
'exists']
51 return 'Shipping method in the shopping cart is or is not available as expected.';
processAssert(CheckoutCart $checkoutCart, array $shippingExists, $requireReload=true)