You are here

public function DynamicRouterTest::testRouteDebugMessageNonversatile in Zircon Profile 8

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

File

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

Class

DynamicRouterTest

Namespace

Symfony\Cmf\Component\Routing\Tests\Routing

Code

public function testRouteDebugMessageNonversatile() {
  $generator = $this
    ->buildMock('Symfony\\Component\\Routing\\Generator\\UrlGeneratorInterface', array(
    'generate',
    'setContext',
    'getContext',
  ));
  $router = new DynamicRouter($this->context, $this->matcher, $generator);
  $this
    ->assertInternalType('string', $router
    ->getRouteDebugMessage('test'));
}