@Test
// title is required by the spec
public void copyDictionaryFixesNullTitles() {

    PDOutlineItem from = new PDOutlineItem();
    from.setTitle(null);
    PDOutlineItem to = new PDOutlineItem();
    assertNull(from.getTitle());
    OutlineUtils.copyOutlineDictionary(from, to);
    assertNotNull(to.getTitle());
}