testAssertHtmlContentsMatchWithEmptyTemplate() {
    let template = '<template><p>foo</p></template>';
    root.innerHTML = template;
    assertThrowsJsUnitException(/**
                                   @suppress {checkTypes} suppression added to
                                   enable type checking
                                 */
                                () => {
                                  testingDom.assertHtmlContentsMatch(
                                      '<template></template>', root, true);
                                });

    template = '<template></template>';
    root.innerHTML = template;
    assertThrowsJsUnitException(/**
                                   @suppress {checkTypes} suppression added to
                                   enable type checking
                                 */
                                () => {
                                  testingDom.assertHtmlContentsMatch(
                                      '<template><p>bar</p></template>', root,
                                      true);
                                });
  }
@suppress {checkTypes} suppression added to
                                   enable type checking