public function getLayerB()
{
return $this->layerB;
}
public function testGetSet() { $ruleViolation = new RulesetViolation($dep = $this->prophesize(DependencyInterface::class)->reveal(), 'layerA', 'layerB'); $this->assertSame($dep, $ruleViolation->getDependency()); $this->assertEquals('layerA', $ruleViolation->getLayerA()); $this->assertEquals('layerB', $ruleViolation->getLayerB()); }