@Test
public void testEquals() {

    SetMetadataParameters eq1 = new SetMetadataParameters();
    eq1.put(PdfMetadataFields.AUTHOR, "author");
    SetMetadataParameters eq2 = new SetMetadataParameters();
    eq2.put(PdfMetadataFields.AUTHOR, "author");
    SetMetadataParameters eq3 = new SetMetadataParameters();
    eq3.put(PdfMetadataFields.AUTHOR, "author");
    SetMetadataParameters diff = new SetMetadataParameters();
    diff.put(PdfMetadataFields.AUTHOR, "author");
    diff.put(PdfMetadataFields.CREATOR, "creator");
    TestUtils.testEqualsAndHashCodes(eq1, eq2, eq3, diff);
}