list.add(createTimesheet(prefix, "1.2", "user1", 2009, 10, 21, 3, 15, 3, 30, "Office", "A lot of stuff done and more.", 5, 51, 1, 1));
list.add(createTimesheet(prefix, "1.2", "user1", 2009, 10, 21, 3, 30, 3, 45, "Office", "A lot of stuff done and more.", 5, 51, 1, 2));
final TimesheetDO master = new TimesheetDO();
master.setTask(getInitTestDB().getTask(prefix + "2"));
master.setLocation("Headquarter");
Kost2DO kost2 = kost2Dao.getKost2(5, 51, 1, 0); // Kost2 is not supported by destination task.
assertNotNull(kost2);
master.setKost2(kost2);
timesheetDao.massUpdate(list, master);
assertEquals(getTask(prefix + "1.1").getId(), list.get(0).getTaskId()); // Not moved.
assertEquals(getTask(prefix + "1.2").getId(), list.get(1).getTaskId()); // Not moved.