You can either pass the long or the short name of the option.
/** * @expectedException \InvalidArgumentException */ public function testHasOptionFailsIfIncludeBaseNoBoolean() { $this->builder->hasOption('option', 1234); }
/** * @expectedException \InvalidArgumentException */ public function testHasOptionFailsIfIncludeBaseNoBoolean() { $this->builder->hasOption('option', 1234); }