You are here

public function RequestContextTest::testSetParameter in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/routing/Tests/RequestContextTest.php \Symfony\Component\Routing\Tests\RequestContextTest::testSetParameter()

File

vendor/symfony/routing/Tests/RequestContextTest.php, line 94

Class

RequestContextTest

Namespace

Symfony\Component\Routing\Tests

Code

public function testSetParameter() {
  $requestContext = new RequestContext();
  $requestContext
    ->setParameter('foo', 'bar');
  $this
    ->assertEquals('bar', $requestContext
    ->getParameter('foo'));
}