You are here

public function DynamicRouterTest::testRouteDebugMessage 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::testRouteDebugMessage()

File

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

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