You are here

public function CombinedSelectorNodeTest::getToStringConversionTestData in Zircon Profile 8

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

Overrides AbstractNodeTest::getToStringConversionTestData

File

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

Class

CombinedSelectorNodeTest

Namespace

Symfony\Component\CssSelector\Tests\Node

Code

public function getToStringConversionTestData() {
  return array(
    array(
      new CombinedSelectorNode(new ElementNode(), '>', new ElementNode()),
      'CombinedSelector[Element[*] > Element[*]]',
    ),
    array(
      new CombinedSelectorNode(new ElementNode(), ' ', new ElementNode()),
      'CombinedSelector[Element[*] <followed> Element[*]]',
    ),
  );
}