@Test
public void getParent()
{

    PDOutlineItem child = new PDOutlineItem();
    root.addLast(child);
    PDDocumentOutline outline = new PDDocumentOutline();
    outline.addLast(root);
    assertNull(outline.getParent());
    assertEquals(outline, root.getParent());
    assertEquals(root, child.getParent());
}