@Test
public void testSimpleOverloadEndpoint() throws Exception {

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