@Test
public void testWildcardParameterTypes() throws Exception {

  @Api
  final class WildcardEndpoint {
    @SuppressWarnings("unused")
    public void foo(Map<String, ? extends Integer> map) {}
  }
  try {
    g.generateConfig(WildcardEndpoint.class);
    fail("Config generation for service class with wildcard parameter type should have failed");
  } catch (IllegalArgumentException e) {
    // expected
  }
}