*
* Test avec des d�veloppeurs diff�rents
*/
public void testIsEqualsAndHashcodeWithDifferentDeveloppeurs() {
Charge charge1 = new ChargeImpl();
Charge charge2 = new ChargeImpl();
// developpeur
User developper1 = new UserImpl();
developper1.setLogin("scooby");
developper1.setLastName("scooby");
User developper2 = new UserImpl();
developper2.setLogin("doo");
developper2.setLastName("doo");
// jour1
Calendar calendar = Calendar.getInstance();
Date day = calendar.getTime();
charge1.setUser(developper1);
charge1.setDay(day);
charge1.setDaysNeededToFinish(60);
charge1.setTimeUsedToday(120);
charge2.setUser(developper2);
charge2.setDay(day);
charge2.setDaysNeededToFinish(60);
charge2.setTimeUsedToday(120);
assertFalse(charge1.equals(charge2));
}