}
@Test
@Transactional
public void taskDependenciesDontMatterIfProgressIsNotZero() {
Task task1 = createValidTaskWithFullProgress();
Task task2 = createValidTask();
task2.setAdvancePercentage(new BigDecimal("0.0001", new MathContext(4)));
TaskGroup taskGroup = new TaskGroup();
taskGroup.addTaskElement(task1);
taskGroup.addTaskElement(task2);
mockDependency(taskGroup, this.task, Type.END_START);
task.setAdvancePercentage(new BigDecimal("0.0001", new MathContext(4)));