public function ContentAwareGeneratorTest::testGetRouteDebugMessage

File

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

Class

ContentAwareGeneratorTest

Namespace

Symfony\Cmf\Component\Routing\Tests\Routing

Code

public function testGetRouteDebugMessage() {
  $this
    ->assertContains('/some/content', $this->generator
    ->getRouteDebugMessage(null, array(
    'content_id' => '/some/content',
  )));
  $this
    ->assertContains('/some/content', $this->generator
    ->getRouteDebugMessage(new RouteAware()));
  $this
    ->assertContains('/some/content', $this->generator
    ->getRouteDebugMessage('/some/content'));
}