* </pre>
*/
private void givenExample(int daysTask) {
diagramGraphExample = createNiceMock(ICriticalPathCalculable.class);
ITaskFundamentalProperties task4 = createTask(START, 4);
ITaskFundamentalProperties task5 = createTask(START, 5);
ITaskFundamentalProperties task8 = createTask(START, 8);
ITaskFundamentalProperties task2 = createTask(START, 2);
ITaskFundamentalProperties task3 = createTask(START, 3);
ITaskFundamentalProperties task10 = createTask(START, 10);
ITaskFundamentalProperties task6 = createTask(START, 6);
ITaskFundamentalProperties modifiableTask = createTask(START, daysTask);
List<ITaskFundamentalProperties> listOfTasks = Arrays.asList(task4,
task5, task8, task2, task3, task10, task6, modifiableTask);
expect(diagramGraphExample.getTasks()).andReturn(listOfTasks)