/** * @expectedException InvalidArgumentException */ public function testGetOptionWithInvalidName() { $this->object->getOption('davedavedave'); }