You are here

public function DynamicRouterTest::testContext in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony-cmf/routing/Tests/Routing/DynamicRouterTest.php \Symfony\Cmf\Component\Routing\Tests\Routing\DynamicRouterTest::testContext()

rather trivial, but we want 100% coverage

File

vendor/symfony-cmf/routing/Tests/Routing/DynamicRouterTest.php, line 54

Class

DynamicRouterTest

Namespace

Symfony\Cmf\Component\Routing\Tests\Routing

Code

public function testContext() {
  $this->router
    ->setContext($this->context);
  $this
    ->assertSame($this->context, $this->router
    ->getContext());
}