public function EscaperTest::testXpathLiteral in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/behat/mink/tests/Selector/Xpath/EscaperTest.php \Behat\Mink\Tests\Selector\Xpath\EscaperTest::testXpathLiteral()
@dataProvider getXpathLiterals
File
- vendor/
behat/ mink/ tests/ Selector/ Xpath/ EscaperTest.php, line 12
Class
Namespace
Behat\Mink\Tests\Selector\XpathCode
public function testXpathLiteral($string, $expected) {
$escaper = new Escaper();
$this
->assertEquals($expected, $escaper
->escapeLiteral($string));
}