@Test
public void positiveMultipleLevel() throws IOException
{

    doc = PDDocument.load(TestPDPageTree.class.getResourceAsStream("/pdfbox/com/tom_roush/pdfbox/pdmodel/page_tree_multiple_levels.pdf"));
    for (int i = 0; i < doc.getNumberOfPages(); i++)
    {
        assertEquals(i, doc.getPages().indexOf(doc.getPage(i)));
    }
}