You are here

public function HashNodeTest::getSpecificityValueTestData in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/css-selector/Tests/Node/HashNodeTest.php \Symfony\Component\CssSelector\Tests\Node\HashNodeTest::getSpecificityValueTestData()

Overrides AbstractNodeTest::getSpecificityValueTestData

File

vendor/symfony/css-selector/Tests/Node/HashNodeTest.php, line 26

Class

HashNodeTest

Namespace

Symfony\Component\CssSelector\Tests\Node

Code

public function getSpecificityValueTestData() {
  return array(
    array(
      new HashNode(new ElementNode(), 'id'),
      100,
    ),
    array(
      new HashNode(new ElementNode(null, 'id'), 'class'),
      101,
    ),
  );
}