You are here

public function ElementNodeTest::getToStringConversionTestData in Zircon Profile 8.0

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

Overrides AbstractNodeTest::getToStringConversionTestData

File

vendor/symfony/css-selector/Tests/Node/ElementNodeTest.php, line 18

Class

ElementNodeTest

Namespace

Symfony\Component\CssSelector\Tests\Node

Code

public function getToStringConversionTestData() {
  return array(
    array(
      new ElementNode(),
      'Element[*]',
    ),
    array(
      new ElementNode(null, 'element'),
      'Element[element]',
    ),
    array(
      new ElementNode('namespace', 'element'),
      'Element[namespace|element]',
    ),
  );
}