@Test
public void getTypeParameter_notParameterized() {

  try {
    Types.getTypeParameter(STRING, 0);
    fail("expected IllegalArgumentException");
  } catch (IllegalArgumentException expected) {
    // expected
  }
}