public function FieldByClassEnhancerTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony-cmf/routing/Tests/Enhancer/FieldByClassEnhancerTest.php \Symfony\Cmf\Component\Routing\Tests\Enhancer\FieldByClassEnhancerTest::setUp()
File
- vendor/
symfony-cmf/ routing/ Tests/ Enhancer/ FieldByClassEnhancerTest.php, line 28
Class
Namespace
Symfony\Cmf\Component\Routing\Tests\EnhancerCode
public function setUp() {
$this->document = $this
->buildMock('Symfony\\Cmf\\Component\\Routing\\Tests\\Enhancer\\RouteObject');
$mapping = array(
'Symfony\\Cmf\\Component\\Routing\\Tests\\Enhancer\\RouteObject' => 'cmf_content.controller:indexAction',
);
$this->mapper = new FieldByClassEnhancer('_content', '_controller', $mapping);
$this->request = Request::create('/test');
}