@Test
public void getPageNumbersAtOutlineLevel() throws IOException {

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