Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions | Protected Member Functions
DataTest Class Reference
Inheritance diagram for DataTest:

Public Member Functions

 testGetCountryHtmlSelect ()
 
 testGetRegionHtmlSelect ()
 

Protected Member Functions

 setUp ()
 

Detailed Description

Definition at line 10 of file DataTest.php.

Member Function Documentation

◆ setUp()

setUp ( )
protected

Definition at line 17 of file DataTest.php.

18  {
20  $this->block = $objectManager->get(\Magento\Directory\Block\Data::class);
21  }
$objectManager
Definition: bootstrap.php:17

◆ testGetCountryHtmlSelect()

testGetCountryHtmlSelect ( )

Definition at line 23 of file DataTest.php.

24  {
26  $result = $this->block->getCountryHtmlSelect();
27  $resultTwo = $this->block->getCountryHtmlSelect();
28  $this->assertEquals($result, $resultTwo);
29  }

◆ testGetRegionHtmlSelect()

testGetRegionHtmlSelect ( )

Definition at line 31 of file DataTest.php.

32  {
34  $result = $this->block->getRegionHtmlSelect();
35  $resultTwo = $this->block->getRegionHtmlSelect();
36  $this->assertEquals($result, $resultTwo);
37  }

The documentation for this class was generated from the following file: