public function testGetTaskWithMultipleMilestoneLink()
 {
     $tf = new TaskFinder($this->container);
     $tl = new TaskLink($this->container);
     $p = new Project($this->container);
     $tc = new TaskCreation($this->container);
     $this->assertEquals(1, $p->create(array('name' => 'test')));
     $this->assertEquals(1, $tc->create(array('project_id' => 1, 'title' => 'A')));
     $this->assertEquals(2, $tc->create(array('project_id' => 1, 'title' => 'B')));
     $this->assertEquals(3, $tc->create(array('project_id' => 1, 'title' => 'C')));
     $this->assertNotFalse($tl->create(1, 2, 9));
     $this->assertNotFalse($tl->create(1, 3, 9));
     $task = $tf->getExtendedQuery()->findOne();
     $this->assertNotEmpty($task);
 }