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)
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
c
d
e
f
g
h
i
m
p
r
s
t
u
+
Functions
_
c
d
e
f
g
h
i
m
p
r
s
t
u
Variables
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
(
_
a
b
c
d
e
f
g
h
i
j
m
n
o
p
q
r
s
t
u
v
w
+
Functions
_
c
d
e
f
g
m
o
r
s
t
v
+
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
m
n
o
p
q
r
s
t
u
v
w
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
vendor
magento
magento2-base
dev
tests
functional
tests
app
Magento
Checkout
Test
Constraint
AssertEmailErrorValidationMessage.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
AssertEmailErrorValidationMessage
extends
AbstractConstraint
16
{
20
const
EMAIL_VALIDATION_MESSAGE
=
'Please enter a valid email address (Ex: johndoe@domain.com).'
;
21
28
public
function
processAssert
(
29
CheckoutOnepage $checkoutOnepage
30
) {
31
\PHPUnit\Framework\Assert::assertEquals(
32
self::EMAIL_VALIDATION_MESSAGE,
33
$checkoutOnepage->getShippingBlock()->getEmailError(),
34
'Email validation message is not correct.'
35
);
36
}
37
43
public
function
toString
()
44
{
45
return
'Email validation message is correct.'
;
46
}
47
}
Magento\Checkout\Test\Constraint\AssertEmailErrorValidationMessage\toString
toString()
Definition:
AssertEmailErrorValidationMessage.php:43
Magento\Checkout\Test\Constraint
Definition:
AssertAddedProductToCartSuccessMessage.php:7
Magento\Checkout\Test\Constraint\AssertEmailErrorValidationMessage
Definition:
AssertEmailErrorValidationMessage.php:15
Magento\Checkout\Test\Constraint\AssertEmailErrorValidationMessage\processAssert
processAssert(CheckoutOnepage $checkoutOnepage)
Definition:
AssertEmailErrorValidationMessage.php:28
Magento\Checkout\Test\Constraint\AssertEmailErrorValidationMessage\EMAIL_VALIDATION_MESSAGE
const EMAIL_VALIDATION_MESSAGE
Definition:
AssertEmailErrorValidationMessage.php:20