### Question:
GenericType { public final Type getType() { return type; } protected  GenericType(); final Type getType();  }### Answer:
@Test public void generic() { assertThat(new GenericType<String>() {}.getType()).isEqualTo(String.class); }