function setUp() {
  // Set up clock.
  mockClock = new goog.testing.MockClock();
  mockClock.install();

  wasChangePhoneLinkClicked = false;
  onChangePhoneClick = function() {
    wasChangePhoneLinkClicked = true;
  };
  wasResendLinkClicked = false;
  onResendClick = function() {
    wasResendLinkClicked = true;
  };
  root = goog.dom.createDom(goog.dom.TagName.DIV);
  document.body.appendChild(root);
  component = createComponent(phoneNumber);
  tosPpTestHelper.setComponent(component);
}
@fileoverview Tests for the phone confirmation code entry page.