testGetLeftMostLeaf() {
    setUpDomTree();

    assertEquals(
        'Should skip ws node', gChildMixedNode1,
        editorNode.getLeftMostLeaf(parentNode));
    assertEquals(
        'Should skip ws node', gChildMixedNode1,
        editorNode.getLeftMostLeaf(childNode1));
    assertEquals(
        'Has no non ws leaves', childNode2,
        editorNode.getLeftMostLeaf(childNode2));
    assertEquals(
        'Should return first child', gChildTextNode3a,
        editorNode.getLeftMostLeaf(childNode3));
    assertEquals(
        'Has no children', gChildTextNode1,
        editorNode.getLeftMostLeaf(gChildTextNode1));

    tearDownDomTree();
  }
Creates a DOM tree and tests that getLeftMostLeaf returns proper node