testShowForUrlLink() {
    mockCtrl.$replayAll();
    setUpAnchor(ANCHOR_URL, ANCHOR_TEXT);
    createAndShow();

    assertEquals(
        'Display text input field should be filled in', ANCHOR_TEXT,
        getDisplayInputText());
    assertEquals(
        'Url input field should be filled in', ANCHOR_URL, getUrlInputText());
    assertEquals(
        'On the web tab should be selected', LinkDialog.Id_.ON_WEB,
        dialog.curTabId_);
    if (useActiveElement()) {
      assertEquals(
          'Focus should be on url input', getUrlInput(),
          dialog.dom.getActiveElement());
    }

    mockCtrl.$verifyAll();
  }
Tests that when you show the dialog for a url link, the input fields are
filled in, the web tab is selected and focus is in the url input field.
@suppress {visibility,checkTypes,missingProperties} suppression added to
enable type checking