function assertSanitizedHtml(
    originalHtml, expectedHtml, tags = undefined, attrs = undefined,
    opt_builder) {
  let builder = opt_builder || new HtmlSanitizer.Builder();
  if (tags) builder = unsafe.alsoAllowTags(just, builder, tags);
  if (attrs) builder = unsafe.alsoAllowAttributes(just, builder, attrs);
  const sanitizer = builder.build();
  const sanitized = sanitizer.sanitize(originalHtml);
  dom.assertHtmlMatches(
      expectedHtml, SafeHtml.unwrap(sanitized),
      true /* opt_strictAttributes */);
}
Sanitizes the original HTML and asserts that it is the same as the expected
HTML. Supports adding tags and attributes through the unsafe API.
@param {string} originalHtml
@param {string} expectedHtml
@param {?Array<string>=} tags
@param {?Array<(string|!HtmlSanitizerAttributePolicy)>=}
    attrs
@param {?HtmlSanitizer.Builder=} opt_builder