JPdfUnit integrates PDFBox as a PDF API with the JUnit framework for the testing of PDF documents (so JPdfUnit is a high level API). Simple, ready-to-use assertions help to compare the expected data to the concrete data of the PDF document.