public function ContentAwareGeneratorTest::setUp in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony-cmf/routing/Tests/Routing/ContentAwareGeneratorTest.php \Symfony\Cmf\Component\Routing\Tests\Routing\ContentAwareGeneratorTest::setUp()
File
- vendor/
symfony-cmf/ routing/ Tests/ Routing/ ContentAwareGeneratorTest.php, line 32
Class
Namespace
Symfony\Cmf\Component\Routing\Tests\RoutingCode
public function setUp() {
$this->contentDocument = $this
->buildMock('Symfony\\Cmf\\Component\\Routing\\RouteReferrersReadInterface');
$this->routeDocument = $this
->buildMock('Symfony\\Cmf\\Component\\Routing\\Tests\\Routing\\RouteMock', array(
'getDefaults',
'compile',
));
$this->routeCompiled = $this
->buildMock('Symfony\\Component\\Routing\\CompiledRoute');
$this->provider = $this
->buildMock('Symfony\\Cmf\\Component\\Routing\\RouteProviderInterface');
$this->context = $this
->buildMock('Symfony\\Component\\Routing\\RequestContext');
$this->generator = new TestableContentAwareGenerator($this->provider);
}