public function testTextFieldArrayParameterWithNameNoId() { $this->specify("textField with array parameter with name no id returns invalid HTML Strict", function () { $options = ['x_name', 'name' => 'x_other', 'class' => 'x_class', 'size' => '10']; $expected = '<input type="text" id="x_name" ' . 'name="x_other" class="x_class" size="10"'; $this->tester->testFieldParameter('textField', $options, $expected, false); }); $this->specify("textField with array parameter with name no id returns invalid HTML XHTML", function () { $options = ['x_name', 'name' => 'x_other', 'class' => 'x_class', 'size' => '10']; $expected = '<input type="text" id="x_name" ' . 'name="x_other" class="x_class" size="10"'; $this->tester->testFieldParameter('textField', $options, $expected, false); }); }