public function DynamicRouterTest::testRouteDebugMessageNonversatile

File

drupal/core/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/Tests/Routing/DynamicRouterTest.php, line 259

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'));
}