WordPress at a glance
class is not described

Symfony\Component\CssSelector\Tests\Node

NegationNodeTest{} WC 1.0

No Hooks.

Return

null. Nothing.

Usage

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

Methods

  1. getSpecificityValueTestData()
  2. getToStringConversionTestData()

Code of NegationNodeTest{} WC 5.3.0

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

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