@Test
  public void swaggerBasicCase() {
    AmbariSwaggerReader asr = new AmbariSwaggerReader(null, createMock(Log.class));
    Swagger swagger = asr.read(ImmutableSet.of(TopLevelAPI.class, NestedAPI.class));
    assertEquals(ImmutableSet.of("/toplevel/top", "/toplevel/{param}/nested/list"),
        swagger.getPaths().keySet());
    assertPathParamsExist(swagger, "/toplevel/{param}/nested/list", "param");
  }
Test the basic case: one top level API and one nested API, each with one operation
ambari-utility/src/test/java/org/apache/ambari/swagger/AmbariSwaggerReaderTest.java