testShowForMailtoLink() {
    mockCtrl.$replayAll();
    setUpAnchor(ANCHOR_MAILTO, ANCHOR_TEXT);
    createAndShow();

    assertEquals(
        'Display text input field should be filled in', ANCHOR_TEXT,
        getDisplayInputText());
    assertEquals(
        'Email input field should be filled in',
        ANCHOR_EMAIL,  // The 'mailto:' is not in the input!
        getEmailInputText());
    assertEquals(
        'Email tab should be selected', LinkDialog.Id_.EMAIL_ADDRESS,
        dialog.curTabId_);
    if (useActiveElement()) {
      assertEquals(
          'Focus should be on email input', getEmailInput(),
          dialog.dom.getActiveElement());
    }

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