public function RequestContextTest::testSetParameter in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/routing/Tests/RequestContextTest.php \Symfony\Component\Routing\Tests\RequestContextTest::testSetParameter()
File
- vendor/
symfony/ routing/ Tests/ RequestContextTest.php, line 94
Class
Namespace
Symfony\Component\Routing\TestsCode
public function testSetParameter() {
$requestContext = new RequestContext();
$requestContext
->setParameter('foo', 'bar');
$this
->assertEquals('bar', $requestContext
->getParameter('foo'));
}