@Test
public void testCollectionCovarianceEndpoint() throws Exception {

  try {
    g.generateConfig(CollectionCovarianceEndpoint.class);
    fail("Config generation for endpoint with covariant inherited method should have failed");
  } catch (OverloadedMethodException expected) {
    // expected
  }
}