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

Public Member Functions

 testGetAttributes ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

 $_model
 

Detailed Description

Definition at line 8 of file FormTest.php.

Member Function Documentation

◆ setUp()

setUp ( )
protected

Definition at line 15 of file FormTest.php.

16  {
18  \Magento\Customer\Model\Form::class
19  );
20  $this->_model->setFormCode('customer_account_create');
21  }

◆ testGetAttributes()

testGetAttributes ( )

Definition at line 23 of file FormTest.php.

24  {
25  $attributes = $this->_model->getAttributes();
26  $this->assertInternalType('array', $attributes);
27  $this->assertNotEmpty($attributes);
28  }
$attributes
Definition: matrix.phtml:13

Field Documentation

◆ $_model

$_model
protected

Definition at line 13 of file FormTest.php.


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