BetweenCriteria c2 = example("x", 1, 20, false); //$NON-NLS-1$
assertTrue("Equivalent between criteria don't compare as equal: " + c1 + ", " + c2, c1.equals(c2)); //$NON-NLS-1$ //$NON-NLS-2$
}
public void testEquals2() {
BetweenCriteria c1 = example("x", 1, 20, true); //$NON-NLS-1$
BetweenCriteria c2 = (BetweenCriteria)c1.clone();
assertTrue("Equivalent between criteria don't compare as equal: " + c1 + ", " + c2, c1.equals(c2)); //$NON-NLS-1$ //$NON-NLS-2$
}