コード例 #1
0
 /**
  * @expectedException        \InvalidArgumentException
  * @expectedExceptionMessage The "--bar" option does not exist.
  */
 public function testGetInvalidOption()
 {
     $this->initializeOptions();
     $definition = new InputDefinition(array($this->foo));
     $definition->getOption('bar');
 }