@Test
public void resolveLastTypeParameterWhenNotSubtype() throws Exception {

  Type context =
      LastTypeParameter.class.getDeclaredField("PARAMETERIZED_LIST_STRING").getGenericType();
  Type listStringType = LastTypeParameter.class.getDeclaredField("LIST_STRING").getGenericType();
  Type last = resolveLastTypeParameter(context, Parameterized.class);
  assertEquals(listStringType, last);
}