@Test
public void toPageDestinationDestinationNullCatalog() {

    PDPageFitDestination dest = new PDPageFitDestination();
    dest.setPageNumber(5);
    PDNamedDestination destination = new PDNamedDestination();
    destination.setNamedDestination("ChuckNorris");
    PDOutlineItem victim = new PDOutlineItem();
    victim.setDestination(destination);
    PDDocumentCatalog catalog = null;
    assertFalse(OutlineUtils.toPageDestination(victim, catalog).isPresent());
}