@Test
public void getOrAdd_genericRequestType() throws Exception {

  ApiMethodConfig methodConfig = fooEndpointSetParameterized();
  checkParameterizedSchema(
      repo.getOrAdd(getRequestResource(methodConfig).getType(), config), Integer.class);
}