Phalcon\Test\Unit\Tag\TagTextAreaTest::testTextAreaArrayParameterWithId PHP Метод

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

Tests textArea with array as a parameters and id in it
С версии: 2014-09-05
Автор: Nikolaos Dimopoulos ([email protected])
    public function testTextAreaArrayParameterWithId()
    {
        $this->specify("textArea with array parameter with id returns invalid", function () {
            $options = ['x_name', 'id' => 'x_id', 'class' => 'x_class', 'size' => '10'];
            $expected = '<textarea id="x_id" name="x_name" ' . 'class="x_class" size="10"></textarea';
            $this->tester->testFieldParameter('textArea', $options, $expected, false);
        });
    }