@Test
public void getArrayItemType_genericArray() {

  class Foo extends Base<String[]> {}
  ParameterizedType type = (ParameterizedType) Foo.class.getGenericSuperclass();
  assertThat(Types.getArrayItemType(TypeToken.of(type.getActualTypeArguments()[0])))
      .isEqualTo(STRING);
}