@Test
public void lastTypeFromInstance() throws Exception {

  Parameterized<?> instance = new ParameterizedSubtype();
  Type last = resolveLastTypeParameter(instance.getClass(), Parameterized.class);
  assertEquals(String.class, last);
}