You are here

public function TranslatorTest::testXpathLiteral in Zircon Profile 8

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

@dataProvider getXpathLiteralTestData

File

vendor/symfony/css-selector/Tests/XPath/TranslatorTest.php, line 20

Class

TranslatorTest

Namespace

Symfony\Component\CssSelector\Tests\XPath

Code

public function testXpathLiteral($value, $literal) {
  $this
    ->assertEquals($literal, Translator::getXpathLiteral($value));
}