WordPress at a glance
class is not described

Symfony\Component\CssSelector\Tests\Node

ClassNodeTest{} WC 1.0

No Hooks.

Return

null. Nothing.

Usage

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

Methods

  1. getSpecificityValueTestData()
  2. getToStringConversionTestData()

Code of ClassNodeTest{} WC 5.3.0

<?php
class ClassNodeTest extends AbstractNodeTest
{
    public function getToStringConversionTestData()
    {
        return array(
            array(new ClassNode(new ElementNode(), 'class'), 'Class[Element[*].class]'),
        );
    }

    public function getSpecificityValueTestData()
    {
        return array(
            array(new ClassNode(new ElementNode(), 'class'), 10),
            array(new ClassNode(new ElementNode(null, 'element'), 'class'), 11),
        );
    }
}