code: public static String urlEncode(String content, Charset charset, TestContext context) {
          return new UrlEncodeFunction().execute(Arrays.asList(content, charset.displayName()), context);
      }
docs: Runs URL encode function with arguments.
  @return