@Test
public void testEquals() {

    ViewerPreferencesParameters eq1 = new ViewerPreferencesParameters();
    ViewerPreferencesParameters eq2 = new ViewerPreferencesParameters();
    ViewerPreferencesParameters eq3 = new ViewerPreferencesParameters();
    ViewerPreferencesParameters diff = new ViewerPreferencesParameters();
    diff.addEnabledPreference(PdfBooleanPreference.HIDE_MENUBAR);
    TestUtils.testEqualsAndHashCodes(eq1, eq2, eq3, diff);
}