JHtmlSelectTest::testOption
Test the option method.
Signature
public function testOption(
$expected,
[string
$value = '',
[string
$text = '',
[mixed
$optKey = 'value',
[string
$optText = 'text',
[boolean
$disable = false]]]]] )
Parameters
-
$expected
- Expected Object.
-
$value
- The value of the option
-
$text
- The text for the option
-
$optKey
- If a string, the returned object property name for
-
$optText
- The property that will hold the the displayed text. This
-
$disable
- Not used.
Returns
- void