Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
magento2-base
dev
tests
functional
tests
app
Magento
Checkout
Test
Constraint
AssertBillingAddressAbsentInPayment.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Checkout\Test\Constraint
;
8
9
use Magento\Checkout\Test\Page\CheckoutOnepage;
10
use Magento\Mtf\Constraint\AbstractConstraint;
11
15
class
AssertBillingAddressAbsentInPayment
extends
AbstractConstraint
16
{
23
public
function
processAssert
(CheckoutOnepage $checkoutOnepage)
24
{
25
\PHPUnit\Framework\Assert::assertFalse(
26
$checkoutOnepage->getPaymentBlock()
27
->getSelectedPaymentMethodBlock()
28
->getBillingBlock()
29
->isVisible(),
30
'Billing address is present in payment method'
31
);
32
}
33
39
public
function
toString
()
40
{
41
return
'Billing address is absent in payment method'
;
42
}
43
}
Magento\Checkout\Test\Constraint\AssertBillingAddressAbsentInPayment\toString
toString()
Definition:
AssertBillingAddressAbsentInPayment.php:39
Magento\Checkout\Test\Constraint
Definition:
AssertAddedProductToCartSuccessMessage.php:7
Magento\Checkout\Test\Constraint\AssertBillingAddressAbsentInPayment\processAssert
processAssert(CheckoutOnepage $checkoutOnepage)
Definition:
AssertBillingAddressAbsentInPayment.php:23
Magento\Checkout\Test\Constraint\AssertBillingAddressAbsentInPayment
Definition:
AssertBillingAddressAbsentInPayment.php:15