public function testTextFieldStringParameter() { $this->specify("textField with string parameter returns invalid HTML Strict", function () { $options = 'x_name'; $expected = '<input type="text" id="x_name" name="x_name"'; $this->tester->testFieldParameter('textField', $options, $expected, false); }); $this->specify("textField with string parameter returns invalid HTML XHTML", function () { $options = 'x_name'; $expected = '<input type="text" id="x_name" name="x_name"'; $this->tester->testFieldParameter('textField', $options, $expected, true); }); }