@Test
  public void getDescriptionInJson() throws Throwable {
    host.testStart(1);

    Operation op =
        Operation.createGet(UriUtils.buildUri(host, SwaggerDescriptorService.SELF_LINK))
            .setReferer(host.getUri())
            .setCompletion(host.getSafeHandler(this::assertDescriptorJson));

    host.sendRequest(op);

    host.testWait();
  }
  @Test
  public void getDescriptionInYaml() throws Throwable {
    host.testStart(1);

    Operation op =
        Operation.createGet(UriUtils.buildUri(host, SwaggerDescriptorService.SELF_LINK))
            .addRequestHeader(Operation.ACCEPT_HEADER, "text/x-yaml")
            .setReferer(host.getUri())
            .setCompletion(host.getSafeHandler(this::assertDescriptorYaml));

    host.sendRequest(op);

    host.testWait();
  }
  @Test
  public void testSwaggerUiAvailable() throws Throwable {
    host.testStart(1);

    URI uri =
        UriUtils.buildUri(
            host, SwaggerDescriptorService.SELF_LINK + ServiceUriPaths.UI_PATH_SUFFIX);
    Operation op =
        Operation.createGet(new URI(uri.toString() + "/"))
            .setReferer(host.getUri())
            .setCompletion(host.getSafeHandler(this::assertSwaggerUiAvailable));

    host.sendRequest(op);

    host.testWait();
  }