예제 #1
0
 public function testHasDependency()
 {
     $a = new Job('a');
     $b = new Job('b');
     $this->assertFalse($a->hasDependency($b));
     $a->addDependency($b);
     $this->assertTrue($a->hasDependency($b));
 }