public function testAddOptionsFailsOnConflict() { $this->setExpectedException('\\InvalidArgumentException'); $getopt = new Getopt(array(array('v', 'version'))); $getopt->addOptions(array(array('v', 'verbose'))); }