public function TranslatorTest::testCssToXPath in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/css-selector/Tests/XPath/TranslatorTest.php \Symfony\Component\CssSelector\Tests\XPath\TranslatorTest::testCssToXPath()
@dataProvider getCssToXPathTestData
File
- vendor/
symfony/ css-selector/ Tests/ XPath/ TranslatorTest.php, line 26
Class
Namespace
Symfony\Component\CssSelector\Tests\XPathCode
public function testCssToXPath($css, $xpath) {
$translator = new Translator();
$translator
->registerExtension(new HtmlExtension($translator));
$this
->assertEquals($xpath, $translator
->cssToXPath($css, ''));
}