Inheritance: implements SensioLabs\Deptrac\DependencyResult\DependencyInterface
 private function formatPath(AstInheritInterface $astInherit, InheritDependency $dependency)
 {
     $buffer = [];
     foreach ($astInherit->getPath() as $p) {
         array_unshift($buffer, "\t" . $p->getClassName() . '::' . $p->getLine());
     }
     $buffer[] = "\t" . $astInherit->getClassName() . '::' . $astInherit->getLine();
     $buffer[] = "\t" . $dependency->getOriginalDependency()->getClassB() . '::' . $dependency->getOriginalDependency()->getClassALine();
     return implode(" -> \n", $buffer);
 }
 public function testGetSet()
 {
     $dependency = new InheritDependency('a', 'b', $dep = $this->prophesize(DependencyInterface::class)->reveal(), $astInherit = $this->prophesize(AstInheritInterface::class)->reveal());
     $this->assertEquals('a', $dependency->getClassA());
     $this->assertEquals('b', $dependency->getClassB());
     $this->assertEquals('', $dependency->getClassALine());
     $this->assertEquals($dep, $dependency->getOriginalDependency());
     $this->assertSame($astInherit, $dependency->getPath());
 }