public function RouteContentEnhancerTest::testFieldAlreadyThere in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony-cmf/routing/Tests/Enhancer/RouteContentEnhancerTest.php \Symfony\Cmf\Component\Routing\Tests\Enhancer\RouteContentEnhancerTest::testFieldAlreadyThere()
File
- vendor/
symfony-cmf/ routing/ Tests/ Enhancer/ RouteContentEnhancerTest.php, line 53
Class
Namespace
Symfony\Cmf\Component\Routing\Tests\EnhancerCode
public function testFieldAlreadyThere() {
$this->document
->expects($this
->never())
->method('getContent');
$defaults = array(
RouteObjectInterface::ROUTE_OBJECT => $this->document,
'_content' => 'foo',
);
$this
->assertEquals($defaults, $this->mapper
->enhance($defaults, $this->request));
}