testRestoreSavedRange() {
    const editableField = new FieldConstructor('testField', document);
    editableField.makeEditable();

    // Create another node to take the focus later.
    const doc = googDom.getOwnerDocument(editableField.getElement());
    const dom = googDom.getDomHelper(editableField.getElement());
    const otherElem = dom.createElement(TagName.DIV);
    otherElem.tabIndex = 1;  // Make it focusable.
    editableField.getElement().parentNode.appendChild(otherElem);

    // Initially place selection not at the start of the editable field.
    const textNode = editableField.getElement().firstChild;
    const range = Range.createFromNodes(textNode, 1, textNode, 2);
    range.select();
    const savedRange = editorRange.saveUsingNormalizedCarets(range);

    // Change range to be a simple cursor at start, and move focus away.
    editableField.placeCursorAtStart();
    otherElem.focus();

    editableField.restoreSavedRange(savedRange);

    // Verify that we have focus and the range is restored.
    assertEquals(
        'Field should be focused', editableField.getElement(),
        googDom.getActiveElement(doc));
    const newRange = editableField.getRange();
    assertEquals('Range startNode', textNode, newRange.getStartNode());
    assertEquals('Range startOffset', 1, newRange.getStartOffset());
    assertEquals('Range endNode', textNode, newRange.getEndNode());
    assertEquals('Range endOffset', 2, newRange.getEndOffset());
  }
Verify that restoreSavedRange() restores the range and sets the focus.