@Test
public void getTypeParameter_notEnoughParameters() {

  try {
    Types.getTypeParameter(STRING_COLLECTION, 1);
    fail("expected IndexOutOfBoundsException");
  } catch (IndexOutOfBoundsException expected) {
    // expected
  }
}