AbstractNodeTest.php in Zircon Profile 8.0
File
vendor/symfony/css-selector/Tests/Node/AbstractNodeTest.php
View source
<?php
namespace Symfony\Component\CssSelector\Tests\Node;
use Symfony\Component\CssSelector\Node\NodeInterface;
abstract class AbstractNodeTest extends \PHPUnit_Framework_TestCase {
public function testToStringConversion(NodeInterface $node, $representation) {
$this
->assertEquals($representation, (string) $node);
}
public function testSpecificityValue(NodeInterface $node, $value) {
$this
->assertEquals($value, $node
->getSpecificity()
->getValue());
}
public abstract function getToStringConversionTestData();
public abstract function getSpecificityValueTestData();
}