WordPress at a glance
class is not described

Symfony\Component\CssSelector\Tests\Node

HashNodeTest{} WC 1.0

No Hooks.

Return

null. Nothing.

Usage

$HashNodeTest = new HashNodeTest();
// use class methods

Methods

  1. getSpecificityValueTestData()
  2. getToStringConversionTestData()

Code of HashNodeTest{} WC 5.3.0

<?php
class HashNodeTest extends AbstractNodeTest
{
    public function getToStringConversionTestData()
    {
        return array(
            array(new HashNode(new ElementNode(), 'id'), 'Hash[Element[*]#id]'),
        );
    }

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