@expectedException OutOfBoundsException
public function testGetArgumentShouldCheckBounds() { $def = new Definition('stdClass'); $def ->addArgument('foo'); $def ->getArgument(1); }