/** * @expectedException \InvalidArgumentException */ public function testGetNonExistentParameterByIndex() { $method = new PhpMethod('doink'); $method->getParameter(5); }
/** * @expectedException \InvalidArgumentException */ public function testGetNonExistentParameterByIndex() { $method = new PhpMethod('doink'); $method->getParameter(5); }