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
Setup
Test
Constraint
Module
AssertSuccessMessage.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Setup\Test\Constraint\Module
;
7
8
use Magento\Setup\Test\Page\Adminhtml\SetupWizard;
9
15
class
AssertSuccessMessage
16
{
17
const
SUCCESS_MESSAGE
=
'Success'
;
18
25
public
function
processAssert
(SetupWizard $setupWizard)
26
{
27
\PHPUnit\Framework\Assert::assertContains(
28
static::SUCCESS_MESSAGE,
29
$setupWizard->getSuccessMessage()->getDisableModuleStatus(),
30
'Success message is incorrect.'
31
);
32
}
33
39
public
function
toString
()
40
{
41
return
"Success message is correct."
;
42
}
43
}
Magento\Setup\Test\Constraint\Module\AssertSuccessMessage
Definition:
AssertSuccessMessage.php:15
Magento\Setup\Test\Constraint\Module\AssertSuccessMessage\toString
toString()
Definition:
AssertSuccessMessage.php:39
Magento\Setup\Test\Constraint\Module\AssertSuccessMessage\processAssert
processAssert(SetupWizard $setupWizard)
Definition:
AssertSuccessMessage.php:25
Magento\Setup\Test\Constraint\Module
Definition:
AssertModuleInGrid.php:6
Magento\Setup\Test\Constraint\Module\AssertSuccessMessage\SUCCESS_MESSAGE
const SUCCESS_MESSAGE
Definition:
AssertSuccessMessage.php:17