public function testTextAreaWithSetDefault() { $this->specify("textArea with setDefault 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, 'setDefault'); }); }