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
Customer
Test
Constraint
AssertCustomerMassDeleteInGrid.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Customer\Test\Constraint
;
8
9
use
Magento\Customer\Test\Fixture\Customer
;
10
use Magento\Customer\Test\Page\Adminhtml\CustomerIndex;
11
use Magento\Mtf\Constraint\AbstractConstraint;
12
17
class
AssertCustomerMassDeleteInGrid
extends
AbstractConstraint
18
{
28
public
function
processAssert
(
29
CustomerIndex $pageCustomerIndex,
30
AssertCustomerInGrid
$assertCustomerInGrid,
31
$customersQtyToDelete,
32
$customers
33
) {
34
$customers
= array_slice(
$customers
, $customersQtyToDelete);
35
foreach
(
$customers
as
$customer
) {
36
$assertCustomerInGrid->
processAssert
(
$customer
, $pageCustomerIndex);
37
}
38
}
39
45
public
function
toString
()
46
{
47
return
'Customers are present in Customer grid.'
;
48
}
49
}
Magento\Customer\Test\Constraint\AssertCustomerMassDeleteInGrid
Definition:
AssertCustomerMassDeleteInGrid.php:17
$customer
$customer
Definition:
customers.php:11
Magento\Customer\Test\Constraint
Definition:
AssertAdditionalAddressCreatedFrontend.php:7
Magento\Customer\Test\Constraint\AssertCustomerInGrid
Definition:
AssertCustomerInGrid.php:17
Magento\Customer\Test\Constraint\AssertCustomerMassDeleteInGrid\toString
toString()
Definition:
AssertCustomerMassDeleteInGrid.php:45
$customers
$customers
Definition:
customer_with_addresses.php:6
Magento\Customer\Test\Constraint\AssertCustomerMassDeleteInGrid\processAssert
processAssert(CustomerIndex $pageCustomerIndex, AssertCustomerInGrid $assertCustomerInGrid, $customersQtyToDelete, $customers)
Definition:
AssertCustomerMassDeleteInGrid.php:28
Magento\Customer\Test\Constraint\AssertCustomerInGrid\processAssert
processAssert(Customer $customer, CustomerIndex $pageCustomerIndex)
Definition:
AssertCustomerInGrid.php:31
Magento\Customer\Test\Fixture\Customer
Definition:
Address.php:7