public function Util_TestTest::testTestWithCharacterEscape in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit/tests/Util/TestTest.php \Util_TestTest::testTestWithCharacterEscape()
@covers PHPUnit_Util_Test::getDataFromTestWithAnnotation
File
- vendor/
phpunit/ phpunit/ tests/ Util/ TestTest.php, line 332
Class
- Util_TestTest
- @since Class available since Release 3.3.6
Code
public function testTestWithCharacterEscape() {
$result = PHPUnit_Util_Test::getDataFromTestWithAnnotation('/**
* @testWith ["\\"", "\\""]
*/');
$this
->assertEquals(array(
array(
'"',
'"',
),
), $result);
}