public function DynamicRouterTest::testRouteDebugMessage

File

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

Class

DynamicRouterTest

Namespace

Symfony\Cmf\Component\Routing\Tests\Routing

Code

public function testRouteDebugMessage() {
  $this->generator
    ->expects($this
    ->once())
    ->method('getRouteDebugMessage')
    ->with($this
    ->equalTo('test'), $this
    ->equalTo(array()))
    ->will($this
    ->returnValue('debug message'));
  $this
    ->assertEquals('debug message', $this->router
    ->getRouteDebugMessage('test'));
}