Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
AssertFindExtensionOnGrid.php
Go to the documentation of this file.
1 <?php
8 
9 use Magento\Mtf\Constraint\AbstractConstraint;
11 use Magento\Setup\Test\Fixture\Extension;
12 
16 class AssertFindExtensionOnGrid extends AbstractConstraint
17 {
25  public function processAssert(AbstractGrid $grid, Extension $extension)
26  {
27  \PHPUnit\Framework\Assert::assertTrue(
29  'Extension is not found on the grid.'
30  );
31  }
32 
38  public function toString()
39  {
40  return "Extension is found on the grid.";
41  }
42 }