ClassNodeTest.php in Zircon Profile 8
File
vendor/symfony/css-selector/Tests/Node/ClassNodeTest.php
View source
<?php
namespace Symfony\Component\CssSelector\Tests\Node;
use Symfony\Component\CssSelector\Node\ClassNode;
use Symfony\Component\CssSelector\Node\ElementNode;
class ClassNodeTest extends AbstractNodeTest {
public function getToStringConversionTestData() {
return array(
array(
new ClassNode(new ElementNode(), 'class'),
'Class[Element[*].class]',
),
);
}
public function getSpecificityValueTestData() {
return array(
array(
new ClassNode(new ElementNode(), 'class'),
10,
),
array(
new ClassNode(new ElementNode(null, 'element'), 'class'),
11,
),
);
}
}