Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
AssertTaxWithCrossBorderApplied.php
Go to the documentation of this file.
1 <?php
8 
14 {
21  public function assert($actualPrices)
22  {
23  //Prices verification
24  \PHPUnit\Framework\Assert::assertEmpty(
25  array_diff($actualPrices[0], $actualPrices[1]),
26  'Prices for customers should be equal. Cross border is not applied.'
27  );
28  }
29 
35  public function toString()
36  {
37  return 'Cross border trading is applied on front.';
38  }
39 }