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