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
Store
Test
Constraint
AssertStoreGroupSuccessSaveMessage.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Store\Test\Constraint
;
8
9
use Magento\Backend\Test\Page\Adminhtml\StoreIndex;
10
use Magento\Mtf\Constraint\AbstractConstraint;
11
16
class
AssertStoreGroupSuccessSaveMessage
extends
AbstractConstraint
17
{
21
const
SUCCESS_MESSAGE
=
'You saved the store.'
;
22
29
public
function
processAssert
(StoreIndex $storeIndex)
30
{
31
\PHPUnit\Framework\Assert::assertEquals(
32
self::SUCCESS_MESSAGE,
33
$storeIndex->getMessagesBlock()->getSuccessMessage(),
34
'Wrong success message is displayed.'
35
);
36
}
37
43
public
function
toString
()
44
{
45
return
'Store Group success create message is present.'
;
46
}
47
}
Magento\Store\Test\Constraint
Definition:
AssertStoreBackend.php:7
Magento\Store\Test\Constraint\AssertStoreGroupSuccessSaveMessage\SUCCESS_MESSAGE
const SUCCESS_MESSAGE
Definition:
AssertStoreGroupSuccessSaveMessage.php:21
Magento\Store\Test\Constraint\AssertStoreGroupSuccessSaveMessage\processAssert
processAssert(StoreIndex $storeIndex)
Definition:
AssertStoreGroupSuccessSaveMessage.php:29
Magento\Store\Test\Constraint\AssertStoreGroupSuccessSaveMessage
Definition:
AssertStoreGroupSuccessSaveMessage.php:16
Magento\Store\Test\Constraint\AssertStoreGroupSuccessSaveMessage\toString
toString()
Definition:
AssertStoreGroupSuccessSaveMessage.php:43