@Test
public void toPageDestinationDestination() {

    PDPageFitDestination destination = new PDPageFitDestination();
    destination.setPageNumber(5);
    PDOutlineItem victim = new PDOutlineItem();
    victim.setDestination(destination);
    PDDocumentCatalog catalog = mock(PDDocumentCatalog.class);
    assertEquals(5, OutlineUtils.toPageDestination(victim, catalog).get().getPageNumber());
}