@Test
public void getSimpleName_parameterized() {

  class Foo extends Base2<Integer, Base<String>> {
  }
  ParameterizedType type = (ParameterizedType) Foo.class.getGenericSuperclass();
  assertThat(getSimpleName(type)).isEqualTo("Base2_Integer_Base_String");
}