@Test
public void toPageDestinationAction() {

    PDPageFitDestination destination = new PDPageFitDestination();
    PDPage page = new PDPage();
    destination.setPage(page);
    PDActionGoTo action = new PDActionGoTo();
    action.setDestination(destination);
    PDOutlineItem victim = new PDOutlineItem();
    victim.setAction(action);
    assertEquals(destination.getPage(), OutlineUtils.toPageDestination(victim, null).get().getPage());
}