You are here

public function RouteContentEnhancerTest::testNoCmfRoute in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony-cmf/routing/Tests/Enhancer/RouteContentEnhancerTest.php \Symfony\Cmf\Component\Routing\Tests\Enhancer\RouteContentEnhancerTest::testNoCmfRoute()

File

vendor/symfony-cmf/routing/Tests/Enhancer/RouteContentEnhancerTest.php, line 74

Class

RouteContentEnhancerTest

Namespace

Symfony\Cmf\Component\Routing\Tests\Enhancer

Code

public function testNoCmfRoute() {
  $defaults = array(
    RouteObjectInterface::ROUTE_OBJECT => $this
      ->buildMock('Symfony\\Component\\Routing\\Route'),
  );
  $this
    ->assertEquals($defaults, $this->mapper
    ->enhance($defaults, $this->request));
}