You are here

public function SelectorNodeTest::getToStringConversionTestData in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/css-selector/Tests/Node/SelectorNodeTest.php \Symfony\Component\CssSelector\Tests\Node\SelectorNodeTest::getToStringConversionTestData()

Overrides AbstractNodeTest::getToStringConversionTestData

File

vendor/symfony/css-selector/Tests/Node/SelectorNodeTest.php, line 19

Class

SelectorNodeTest

Namespace

Symfony\Component\CssSelector\Tests\Node

Code

public function getToStringConversionTestData() {
  return array(
    array(
      new SelectorNode(new ElementNode()),
      'Selector[Element[*]]',
    ),
    array(
      new SelectorNode(new ElementNode(), 'pseudo'),
      'Selector[Element[*]::pseudo]',
    ),
  );
}