final Map<Integer, Integer> map = new HashMap<Integer, Integer>();
map.put( 1, 1 );
prepareBuildTasks.add( new PrepareBuildProjectsTask( map, new BuildTrigger( 1, "test-user" ), 1,
"Project Group A", "http://scm.root.address", 2 ) );
final ParallelBuildsThreadedTaskQueueExecutor buildTaskQueueExecutor = context.mock(
ParallelBuildsThreadedTaskQueueExecutor.class, "parallel-build-task-executor" );
final ParallelBuildsThreadedTaskQueueExecutor checkoutTaskQueueExecutor = context.mock(
ParallelBuildsThreadedTaskQueueExecutor.class, "parallel-checkout-task-executor" );
final ParallelBuildsThreadedTaskQueueExecutor prepareBuildTaskQueueExecutor = context.mock(
ParallelBuildsThreadedTaskQueueExecutor.class, "parallel-prepare-build-task-executor" );
final List<Task> tasks = new ArrayList<Task>();
context.checking( new Expectations()