public function testIsFinishedFunctionality()
 {
     $op1 = new GenericOperation(1);
     $op2 = new GenericOperation(2);
     $dm = new DependencyManager();
     $dm->addOperation($op1);
     $dm->addOperation($op2);
     $dm->addDependencyByOperation($op1, $op2);
     $this->assertFalse($dm->isFinished());
     $dm->markAsExecuted($op1);
     $this->assertFalse($dm->isFinished());
     $dm->markAsExecuted($op2);
     $this->assertTrue($dm->isFinished());
 }