<?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\NodeInterface;abstractclassAbstractNodeTestextends\PHPUnit_Framework_TestCase{/** @dataProvider getToStringConversionTestData */publicfunctiontestToStringConversion(NodeInterface$node,$representation){$this->assertEquals($representation,(string)$node);}/** @dataProvider getSpecificityValueTestData */publicfunctiontestSpecificityValue(NodeInterface$node,$value){$this->assertEquals($value,$node->getSpecificity()->getValue());}abstractpublicfunctiongetToStringConversionTestData();abstractpublicfunctiongetSpecificityValueTestData();}