1..31
# ->getValue() ->getName() ->getWidget() ->getParent() ->getError() ->hasError()
ok 1 - ->getWidget() returns the form field widget
ok 2 - ->getName() returns the form field name
ok 3 - ->getValue() returns the form field value
ok 4 - ->getParent() returns the form field parent
ok 5 - ->getError() returns the form field error
ok 6 - ->hasError() returns true if the form field has some error
ok 7 - ->hasError() returns false if the form field has no error
# __toString()
ok 8 - __toString() renders the form field with default HTML attributes
# ->render()
ok 9 - ->render() renders the form field
# ->renderRow()
ok 10 - ->renderRow() renders a row
ok 11 - ->renderRow() can take an array of HTML attributes as its first argument
ok 12 - ->renderRow() can take a label name as its second argument
ok 13 - ->renderRow() can take a help message as its third argument
ok 14 - ->renderRow() renders a row when the widget has a parent
ok 15 - ->renderRow() throws an LogicException if the form field has no parent
# ->renderLabel()
ok 16 - ->renderLabel() renders the label as HTML
ok 17 - ->renderLabel() renders optional HTML attributes
ok 18 - ->renderLabel() throws an LogicException if the form field has no parent
# ->renderLabelName()
ok 19 - ->renderLabelName() renders the label name
ok 20 - ->renderLabelName() throws an LogicException if the form field has no parent
# ->renderName()
ok 21 - ->renderName() renders the name attribute of the field
ok 22 - ->renderName() renders the name attribute of the field
# ->renderId()
ok 23 - ->renderId() renders the id attribute of the field
ok 24 - ->renderId() renders the id attribute of the field
# ->isHidden()
ok 25 - ->isHidden() is a proxy method to the isHidden() method of the widget
# ->renderError()
ok 26 - ->renderError() renders errors as HTML
ok 27 - ->renderRow() renders errors as HTML when the widget has a parent
ok 28 - ->renderRow() renders errors as HTML when the widget has a parent
ok 29 - ->renderError() throws an LogicException if the form field has no parent
ok 30 - ->renderError() renders global errors as expected (global errors, hidden field errors, non existent field errors)
ok 31 - ->render() uses the parent id format
# Looks like everything went fine.