Example #1
0
 /**
  * {@inheritdoc}
  */
 public function getSpecificity()
 {
     return $this->selector->getSpecificity()->plus(new Specificity(0, 1, 0));
 }
Example #2
0
 /** @dataProvider getSpecificityValueTestData */
 public function testSpecificityValue(NodeInterface $node, $value)
 {
     $this->assertEquals($value, $node->getSpecificity()->getValue());
 }