@Test
public void genericInterface() {

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