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
CatalogSearch
Test
Constraint
AssertCatalogSearchNoResult.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\CatalogSearch\Test\Constraint
;
8
9
use Magento\Mtf\Constraint\AbstractConstraint;
10
use Magento\CatalogSearch\Test\Page\CatalogsearchResult;
11
15
class
AssertCatalogSearchNoResult
extends
AbstractConstraint
16
{
23
public
function
processAssert
(CatalogsearchResult $catalogsearchResult)
24
{
25
\PHPUnit\Framework\Assert::assertFalse(
26
$catalogsearchResult->getListProductBlock()->isVisible(),
27
'Search result has been found.'
28
);
29
}
30
36
public
function
toString
()
37
{
38
return
'Search result has not been found.'
;
39
}
40
}
Magento\CatalogSearch\Test\Constraint\AssertCatalogSearchNoResult\toString
toString()
Definition:
AssertCatalogSearchNoResult.php:36
Magento\CatalogSearch\Test\Constraint
Definition:
AssertAdvancedSearchAttributeIsAbsent.php:7
Magento\CatalogSearch\Test\Constraint\AssertCatalogSearchNoResult\processAssert
processAssert(CatalogsearchResult $catalogsearchResult)
Definition:
AssertCatalogSearchNoResult.php:23
Magento\CatalogSearch\Test\Constraint\AssertCatalogSearchNoResult
Definition:
AssertCatalogSearchNoResult.php:15