public function ProviderBasedGeneratorTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony-cmf/routing/Tests/Routing/ProviderBasedGeneratorTest.php \Symfony\Cmf\Component\Routing\Tests\Routing\ProviderBasedGeneratorTest::setUp()
File
- vendor/
symfony-cmf/ routing/ Tests/ Routing/ ProviderBasedGeneratorTest.php, line 31
Class
Namespace
Symfony\Cmf\Component\Routing\Tests\RoutingCode
public function setUp() {
$this->routeDocument = $this
->buildMock('Symfony\\Component\\Routing\\Route', 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 TestableProviderBasedGenerator($this->provider);
}