4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\CssSelector\Tests\Node;
14 use Symfony\Component\CssSelector\Node\HashNode;
15 use Symfony\Component\CssSelector\Node\ElementNode;
17 class HashNodeTest extends AbstractNodeTest
19 public function getToStringConversionTestData()
22 array(new HashNode(new ElementNode(), 'id'), 'Hash[Element[*]#id]'),
26 public function getSpecificityValueTestData()
29 array(new HashNode(new ElementNode(), 'id'), 100),
30 array(new HashNode(new ElementNode(null, 'id'), 'class'), 101),