public function RequestTest::testUrlencodedStringPrefix in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/RequestTest.php \Symfony\Component\HttpFoundation\Tests\RequestTest::testUrlencodedStringPrefix()
@dataProvider urlencodedStringPrefixData
File
- vendor/
symfony/ http-foundation/ Tests/ RequestTest.php, line 1516
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testUrlencodedStringPrefix($string, $prefix, $expect) {
$request = new Request();
$me = new \ReflectionMethod($request, 'getUrlencodedPrefix');
$me
->setAccessible(true);
$this
->assertSame($expect, $me
->invoke($request, $string, $prefix));
}