public function RouteContentEnhancerTest::setUp 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::setUp()
File
- vendor/
symfony-cmf/ routing/ Tests/ Enhancer/ RouteContentEnhancerTest.php, line 30
Class
Namespace
Symfony\Cmf\Component\Routing\Tests\EnhancerCode
public function setUp() {
$this->document = $this
->buildMock('Symfony\\Cmf\\Component\\Routing\\Tests\\Enhancer\\RouteObject', array(
'getContent',
'getRouteDefaults',
'getUrl',
));
$this->mapper = new RouteContentEnhancer(RouteObjectInterface::ROUTE_OBJECT, '_content');
$this->request = Request::create('/test');
}