function assertTosPpLinkClicked_(tosUrl, privacyPolicyUrl) {
  var tosLinkElement = goog.dom.getElementByClass(
    'firebaseui-tos-link', container);
  var ppLinkElement = goog.dom.getElementByClass(
    'firebaseui-pp-link', container);
  if (typeof tosUrl === 'function') {
    assertEquals(0, tosUrl.getCallCount());
    goog.testing.events.fireClickSequence(tosLinkElement);
    assertEquals(1, tosUrl.getCallCount());
  } else {
    goog.testing.events.fireClickSequence(tosLinkElement);
    testUtil.assertOpen(tosUrl, '_blank');
  }
  if (typeof privacyPolicyUrl === 'function') {
    assertEquals(0, privacyPolicyUrl.getCallCount());
    goog.testing.events.fireClickSequence(ppLinkElement);
    assertEquals(1, privacyPolicyUrl.getCallCount());
  } else {
    goog.testing.events.fireClickSequence(ppLinkElement);
    testUtil.assertOpen(privacyPolicyUrl, '_blank');
  }
}
@param {?string|function()|undefined} tosUrl
@param {?string|function()|undefined} privacyPolicyUrl
@private