public getPath ( ) : SensioLabs\AstRunner\AstMap\AstInheritInterface | ||
return | SensioLabs\AstRunner\AstMap\AstInheritInterface |
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()); }