You are here

public function FieldPresenceEnhancerTest::testFieldAlreadyThere in Zircon Profile 8.0

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

File

vendor/symfony-cmf/routing/Tests/Enhancer/FieldPresenceEnhancerTest.php, line 45

Class

FieldPresenceEnhancerTest

Namespace

Symfony\Cmf\Component\Routing\Tests\Enhancer

Code

public function testFieldAlreadyThere() {
  $defaults = array(
    '_template' => 'Bundle:Topic:template.html.twig',
    '_controller' => 'custom.controller:indexAction',
  );
  $this
    ->assertEquals($defaults, $this->mapper
    ->enhance($defaults, $this->request));
}