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

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

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