public function testRemove()
 {
     $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(1, $tl->create(1, 2, 2));
     $links = $tl->getAll(1);
     $this->assertNotEmpty($links);
     $links = $tl->getAll(2);
     $this->assertNotEmpty($links);
     $this->assertTrue($tl->remove($links[0]['id']));
     $links = $tl->getAll(1);
     $this->assertEmpty($links);
     $links = $tl->getAll(2);
     $this->assertEmpty($links);
 }