function assertConstHtmlToNodeStringifiesToOneOf(
    potentialStringifications, var_args) {
  const node = googDom.constHtmlToNode.apply(
      undefined, Array.prototype.slice.call(arguments, 1));
  /** @suppress {checkTypes} suppression added to enable type checking */
  const stringified = googDom.getOuterHtml(node);
  if (potentialStringifications.find(element => element == stringified) ===
      null) {
    fail(
        'Unexpected stringification for a node built from "' +
        Array.prototype.slice.call(arguments, 1).map(Const.unwrap).join('') +
        '": "' + stringified + '"');
  }
}
Assert that the given Const, when converted to a Node,
stringifies in one of the specified ways.
@param {!Array<string>} potentialStringifications
@param {...!Const} var_args The constants to use.