@Test
public void testEqual() {

    PageRange range = new PageRange(10);
    PdfMergeInput eq1 = new PdfMergeInput(source);
    eq1.addPageRange(range);
    PdfMergeInput eq2 = new PdfMergeInput(source);
    eq2.addPageRange(range);
    PdfMergeInput eq3 = new PdfMergeInput(source);
    eq3.addPageRange(range);
    PdfMergeInput diff = new PdfMergeInput(source);
    TestUtils.testEqualsAndHashCodes(eq1, eq2, eq3, diff);
}