@Test
public void testDeepGenericHierarchySuccessEndpoint() throws Exception {

  String apiConfigSource =
      g.generateConfig(DeepGenericHierarchySuccessEndpoint.class).get("myapi-v1.api");
  JsonNode root = objectMapper.readValue(apiConfigSource, JsonNode.class);
  JsonNode methods = root.path("methods");
  assertEquals(1, methods.size());
}