@Test
public void testEndpointWithBridgeMethods() throws Exception {

  String apiConfigSource = g.generateConfig(BridgeInheritanceEndpoint.class).get("myapi-v1.api");
  JsonNode root = objectMapper.readValue(apiConfigSource, JsonNode.class);
  JsonNode methods = root.path("methods");
  assertEquals(2, methods.size());
  assertNull(methods.findValue("myapi.fn1"));
  assertNotNull(methods.findValue("myapi.api6.foos.fn1"));
  assertNotNull(methods.findValue("myapi.api6.foos.fn2"));
}