You are here

public function FieldPresenceEnhancerTest::testHasNoSourceValue in Zircon Profile 8

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

File

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

Class

FieldPresenceEnhancerTest

Namespace

Symfony\Cmf\Component\Routing\Tests\Enhancer

Code

public function testHasNoSourceValue() {
  $defaults = array(
    'foo' => 'bar',
  );
  $this
    ->assertEquals($defaults, $this->mapper
    ->enhance($defaults, $this->request));
}