@Test
public void testMultipleServiceClasses() throws Exception {

  String apiConfigSource =
      g.generateConfig(MultipleEndpoint1.class, MultipleEndpoint2.class).get("myapi-v1.api");
  JsonNode root = objectMapper.readValue(apiConfigSource, JsonNode.class);
  assertEquals("item", root.path("methods").path("myapi.add").path("path").asText());
  assertEquals("item/{id}", root.path("methods").path("myapi.delete").path("path").asText());
}