@Test
public void getOrAdd_genericReturnType() throws Exception {

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