Phalcon\Test\Unit\Tag\TagTextAreaTest::testTextAreaArrayParameter PHP Method

testTextAreaArrayParameter() public method

Tests textArea with array as a parameter
Since: 2014-09-05
Author: Nikolaos Dimopoulos ([email protected])
    public function testTextAreaArrayParameter()
    {
        $this->specify("textArea with array parameter returns invalid", function () {
            $options = ['x_name', 'class' => 'x_class'];
            $expected = '<textarea id="x_name" name="x_name" ' . 'class="x_class"></textarea';
            $this->tester->testFieldParameter('textArea', $options, $expected, false);
        });
    }