public function FieldByClassEnhancerTest::testFieldAlreadyThere

File

drupal/core/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/Tests/Enhancer/FieldByClassEnhancerTest.php, line 42

Class

FieldByClassEnhancerTest

Namespace

Symfony\Cmf\Component\Routing\Tests\Enhancer

Code

public function testFieldAlreadyThere() {
  $defaults = array(
    '_content' => $this->document,
    '_controller' => 'custom.controller:indexAction',
  );
  $this
    ->assertEquals($defaults, $this->mapper
    ->enhance($defaults, $this->request));
}