@Test
public void genericSubclass() {

  assertThat(GenericsUtil.fromGenericType(new TypeLiteral<GenericNumberSubclass<Integer>>() {}.getType(), GenericSuperclass.class, 0)).isEqualTo(Integer.class);
}