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