public function OutputRulesTest::testEscape in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/masterminds/html5/test/HTML5/Serializer/OutputRulesTest.php \Masterminds\HTML5\Tests\Serializer\OutputRulesTest::testEscape()
Test basic encoding of text. @dataProvider getEncData
File
- vendor/
masterminds/ html5/ test/ HTML5/ Serializer/ OutputRulesTest.php, line 447
Class
Namespace
Masterminds\HTML5\Tests\SerializerCode
public function testEscape($isAttribute, $test, $expected, $expectedEncoded) {
list($o, $s) = $this
->getOutputRules();
$m = $this
->getProtectedMethod('escape');
$this
->assertEquals($expected, $m
->invoke($o, $test, $isAttribute));
}