private void givenPairOfTasksWithDependencyFirstWithBiggerConstraintAndSecondWithEqualConstraint(
int daysTask1, LocalDate dateBiggerOrEqualConstraintTask1,
int daysTask2, LocalDate dateEqualConstraintTask2) {
diagramGraphExample = createNiceMock(ICriticalPathCalculable.class);
ITaskFundamentalProperties task1 = createTaskWithBiggerOrEqualThanConstraint(
START, daysTask1, dateBiggerOrEqualConstraintTask1);
ITaskFundamentalProperties task2 = createTaskWithEqualConstraint(START,
daysTask2, dateEqualConstraintTask2);
List<ITaskFundamentalProperties> listOfTasks = Arrays.asList(task1,
task2);