1..34
# __construct()
ok 1 - __construct() takes a name as its first argument
ok 2 - __construct() removes the leading -- of the option name
ok 3 - __construct() can take a shortcut as its second argument
ok 4 - __construct() removes the leading - of the shortcut
ok 5 - __construct() gives a sfCommandOption::PARAMETER_NONE mode by default
ok 6 - __construct() gives a sfCommandOption::PARAMETER_NONE mode by default
ok 7 - __construct() gives a sfCommandOption::PARAMETER_NONE mode by default
ok 8 - __construct() can take sfCommandOption::PARAMETER_NONE as its mode
ok 9 - __construct() can take sfCommandOption::PARAMETER_NONE as its mode
ok 10 - __construct() can take sfCommandOption::PARAMETER_NONE as its mode
ok 11 - __construct() can take sfCommandOption::PARAMETER_NONE as its mode
ok 12 - __construct() can take sfCommandOption::PARAMETER_NONE as its mode
ok 13 - __construct() can take sfCommandOption::PARAMETER_NONE as its mode
ok 14 - __construct() can take sfCommandOption::PARAMETER_REQUIRED as its mode
ok 15 - __construct() can take sfCommandOption::PARAMETER_REQUIRED as its mode
ok 16 - __construct() can take sfCommandOption::PARAMETER_REQUIRED as its mode
ok 17 - __construct() can take sfCommandOption::PARAMETER_OPTIONAL as its mode
ok 18 - __construct() can take sfCommandOption::PARAMETER_OPTIONAL as its mode
ok 19 - __construct() can take sfCommandOption::PARAMETER_OPTIONAL as its mode
ok 20 - __construct() throws an sfCommandException if the mode is not valid
# ->isArray()
ok 21 - ->isArray() returns true if the option can be an array
ok 22 - ->isArray() returns true if the option can be an array
ok 23 - ->isArray() returns false if the option can not be an array
# ->getHelp()
ok 24 - ->getHelp() returns the help message
# ->getDefault()
ok 25 - ->getDefault() returns the default value
ok 26 - ->getDefault() returns the default value
ok 27 - ->getDefault() returns null if no default value is configured
ok 28 - ->getDefault() returns an empty array if option is an array
ok 29 - ->getDefault() returns false if the option does not take a parameter
# ->setDefault()
ok 30 - ->setDefault() can reset the default value by passing null
ok 31 - ->setDefault() changes the default value
ok 32 - ->setDefault() changes the default value
ok 33 - ->setDefault() throws an sfCommandException if you give a default value for a PARAMETER_NONE option
ok 34 - ->setDefault() throws an sfCommandException if you give a default value which is not an array for a IS_ARRAY option
# Looks like everything went fine.