<?php/* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */namespaceSymfony\Component\CssSelector\Tests\Node;useSymfony\Component\CssSelector\Node\AttributeNode;useSymfony\Component\CssSelector\Node\ElementNode;classAttributeNodeTestextendsAbstractNodeTest{publicfunctiongetToStringConversionTestData(){return[[newAttributeNode(newElementNode(),null,'attribute','exists',null),'Attribute[Element[*][attribute]]'],[newAttributeNode(newElementNode(),null,'attribute','$=','value'),"Attribute[Element[*][attribute $= 'value']]"],[newAttributeNode(newElementNode(),'namespace','attribute','$=','value'),"Attribute[Element[*][namespace|attribute $= 'value']]"],];}publicfunctiongetSpecificityValueTestData(){return[[newAttributeNode(newElementNode(),null,'attribute','exists',null),10],[newAttributeNode(newElementNode(null,'element'),null,'attribute','exists',null),11],[newAttributeNode(newElementNode(),null,'attribute','$=','value'),10],[newAttributeNode(newElementNode(),'namespace','attribute','$=','value'),10],];}}