user2.setLogin("scoobydoo");
user2.setPersistanceId(1);
user2.setPersistanceVersion(1);
Task task1 = new TaskImpl();
Task task2 = new TaskImpl();
task1.setOwner(user1);
task1.setDaysEstimated(2);
task1.setPersistanceId(1);
task1.setPersistanceVersion(1);
task1.setShortDescription("aa");
task2.setOwner(user2);
task2.setDaysEstimated(2);
task2.setPersistanceId(1);
task2.setPersistanceVersion(1);
task2.setShortDescription("aa");
// equals
assertFalse(task1.equals(task2));
// hascode
assertFalse(task1.hashCode() == task2.hashCode());
}