@Test
public void newLinesInBookmarks() throws IOException {

    try (PDDocument document = fromResource("pdf/new_line_in_bookmarks.pdf")) {
        org.sejda.model.outline.OutlineLevelsHandler victim = new SamboxOutlineLevelsHandler(document, null);
        assertEquals(3, victim.getPageDestinationsForLevel(1).getPages().size());
    }
}