Redaxscript\Tests\Html\FormTest::testCreate PHP Метод

testCreate() публичный Метод

testCreate
С версии: 2.6.0
public testCreate ( array $attributeArray = [], array $optionArray = [], string $expect = null )
$attributeArray array
$optionArray array
$expect string
    public function testCreate($attributeArray = [], $optionArray = [], $expect = null)
    {
        /* setup */
        $form = new Html\Form($this->_registry, $this->_language);
        $form->init($attributeArray, $optionArray);
        /* actual */
        $actual = $form;
        /* compare */
        $this->assertEquals($expect, $actual);
    }