@Test
public void testKnownParameterizedType() throws Exception {

  @Api
  class Bar <T1> {
    @SuppressWarnings("unused")
    public void bar(T1 t1) {}
  }
  class Foo extends Bar<Integer> {}
  ApiConfig config = createConfig(Foo.class);
  annotationReader.loadEndpointMethods(serviceContext, Foo.class,
      config.getApiClassConfig().getMethods());
  ApiParameterConfig parameter =
      config.getApiClassConfig().getMethods()
          .get(methodToEndpointMethod(
              Foo.class.getSuperclass().getDeclaredMethod("bar", Object.class)))
          .getParameterConfigs()
          .get(0);
  assertEquals(ApiParameterConfig.Classification.API_PARAMETER, parameter.getClassification());
}