namespace Symfony\Component\CssSelector\Tests\Node;
use Symfony\Component\CssSelector\Node\ElementNode;
use Symfony\Component\CssSelector\Node\SelectorNode;
class SelectorNodeTest extends AbstractNodeTestCase
{ public static function getToStringConversionTestData() { return [ [new SelectorNode(new ElementNode()), 'Selector[Element[*]]'
],
[new SelectorNode(new ElementNode(), 'pseudo'
), 'Selector[Element[*]::pseudo]'
],
];
} public static function getSpecificityValueTestData() { return [ [new SelectorNode(new ElementNode()), 0
],
[new SelectorNode(new ElementNode(), 'pseudo'
), 1
],
];
}}