<?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(){returnarray(array(newAttributeNode(newElementNode(),null,'attribute','exists',null),'Attribute[Element[*][attribute]]'),array(newAttributeNode(newElementNode(),null,'attribute','$=','value'),"Attribute[Element[*][attribute $= 'value']]"),array(newAttributeNode(newElementNode(),'namespace','attribute','$=','value'),"Attribute[Element[*][namespace|attribute $= 'value']]"),);}publicfunctiongetSpecificityValueTestData(){returnarray(array(newAttributeNode(newElementNode(),null,'attribute','exists',null),10),array(newAttributeNode(newElementNode(null,'element'),null,'attribute','exists',null),11),array(newAttributeNode(newElementNode(),null,'attribute','$=','value'),10),array(newAttributeNode(newElementNode(),'namespace','attribute','$=','value'),10),);}}