@Test
public void testEquals() {

    PdfToSingleTiffParameters eq1 = new PdfToSingleTiffParameters(ImageColorType.GRAY_SCALE);
    PdfToSingleTiffParameters eq2 = new PdfToSingleTiffParameters(ImageColorType.GRAY_SCALE);
    PdfToSingleTiffParameters eq3 = new PdfToSingleTiffParameters(ImageColorType.GRAY_SCALE);
    PdfToSingleTiffParameters diff = new PdfToSingleTiffParameters(ImageColorType.BLACK_AND_WHITE);
    diff.setCompressionType(TiffCompressionType.JPEG_TTN2);
    TestUtils.testEqualsAndHashCodes(eq1, eq2, eq3, diff);
}