You are here

public function FieldMapEnhancerTest::testNotFoundInMapping in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony-cmf/routing/Tests/Enhancer/FieldMapEnhancerTest.php \Symfony\Cmf\Component\Routing\Tests\Mapper\FieldMapEnhancerTest::testNotFoundInMapping()

File

vendor/symfony-cmf/routing/Tests/Enhancer/FieldMapEnhancerTest.php, line 64

Class

FieldMapEnhancerTest

Namespace

Symfony\Cmf\Component\Routing\Tests\Mapper

Code

public function testNotFoundInMapping() {
  $defaults = array(
    'type' => 'unknown_route',
  );
  $this
    ->assertEquals($defaults, $this->enhancer
    ->enhance($defaults, $this->request));
}