You are here

public function FieldByClassEnhancerTest::testFieldAlreadyThere in Zircon Profile 8

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

File

vendor/symfony-cmf/routing/Tests/Enhancer/FieldByClassEnhancerTest.php, line 51

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