/** * @expectedException \InvalidArgumentException */ public function testGetParameterTypeWithIndexNotDefined() { $this->subject->getParameterType(0); }