@Test
public void testEquals() {

    ExtractPagesParameters eq1 = new ExtractPagesParameters(PredefinedSetOfPages.EVEN_PAGES);
    ExtractPagesParameters eq2 = new ExtractPagesParameters(PredefinedSetOfPages.EVEN_PAGES);
    ExtractPagesParameters eq3 = new ExtractPagesParameters(PredefinedSetOfPages.EVEN_PAGES);
    ExtractPagesParameters diff = new ExtractPagesParameters();
    diff.addPageRange(new PageRange(12));
    TestUtils.testEqualsAndHashCodes(eq1, eq2, eq3, diff);
}