//
task1.setStart(new GanttCalendar(2000, 01, 02));
task2.setStart(new GanttCalendar(2000, 01, 02));
task2.setEnd(new GanttCalendar(2000, 01, 03));
//
AdjustTaskBoundsAlgorithm alg = taskManager.getAlgorithmCollection()
.getAdjustTaskBoundsAlgorithm();
alg.run(new Task[] { task1, task2 });
//
assertEquals("Unexpected start of supertask=" + supertask,
new GanttCalendar(2000, 01, 02), supertask.getStart());
assertEquals("Unexpected end of supertask=" + supertask,
new GanttCalendar(2000, 01, 03), supertask.getEnd());