Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
AssertSearchTermMassActionsNotInGrid.php
Go to the documentation of this file.
1 <?php
8 
10 use Magento\CatalogSearch\Test\Page\Adminhtml\CatalogSearchIndex;
11 use Magento\Mtf\Constraint\AbstractConstraint;
12 
17 class AssertSearchTermMassActionsNotInGrid extends AbstractConstraint
18 {
27  public function processAssert(
28  array $searchTerms,
29  CatalogSearchIndex $indexPage,
30  AssertSearchTermNotInGrid $assertSearchTermNotInGrid
31  ) {
32  foreach ($searchTerms as $term) {
34  $assertSearchTermNotInGrid->processAssert($indexPage, $term);
35  }
36  }
37 
43  public function toString()
44  {
45  return 'Search terms were not found in grid.';
46  }
47 }
processAssert(CatalogSearchIndex $indexPage, CatalogSearchQuery $searchTerm)