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\ElementNode;
16 class ElementNodeTest extends AbstractNodeTest
18 public function getToStringConversionTestData()
21 array(new ElementNode(), 'Element[*]'),
22 array(new ElementNode(null, 'element'), 'Element[element]'),
23 array(new ElementNode('namespace', 'element'), 'Element[namespace|element]'),
27 public function getSpecificityValueTestData()
30 array(new ElementNode(), 0),
31 array(new ElementNode(null, 'element'), 1),
32 array(new ElementNode('namespace', 'element'), 1),