public function RouteContentEnhancerTest::testNoContent 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::testNoContent()
File
- vendor/
symfony-cmf/ routing/ Tests/ Enhancer/ RouteContentEnhancerTest.php, line 64
Class
Namespace
Symfony\Cmf\Component\Routing\Tests\EnhancerCode
public function testNoContent() {
$this->document
->expects($this
->once())
->method('getContent')
->will($this
->returnValue(null));
$defaults = array(
RouteObjectInterface::ROUTE_OBJECT => $this->document,
);
$this
->assertEquals($defaults, $this->mapper
->enhance($defaults, $this->request));
}