public function setUp() {
$this->contentDocument = $this
->buildMock('Symfony\\Cmf\\Component\\Routing\\RouteAwareInterface');
$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);
}