function assertInfoBarMessage(message, opt_component) {
  var element = goog.dom.getElementByClass(
      'firebaseui-id-info-bar',
      opt_component ? opt_component.getContainer() : container);
  assertContains(message, goog.dom.getTextContent(element));
}
@param {string} message The message that is expected to be displayed in the
    info bar.
@param {?firebaseui.auth.ui.page.Base=} opt_component Optional component to
    check that info bar is displayed within. Default container is used if not
    specified.