/** * @expectedException InvalidArgumentException */ public function testOptionException1() { $this->wrapper->getOption('foo'); }