/**
  * Sets up this test case
  *
  * @author Sebastian Kurfürst <*****@*****.**>
  */
 public function setUp()
 {
     $this->templateParser = new \F3\Fluid\Core\Parser\TemplateParser();
     $this->templateParser->injectObjectFactory($this->objectFactory);
     $this->renderingContext = new \F3\Fluid\Core\Rendering\RenderingContext();
     $this->renderingContext->injectObjectFactory($this->objectFactory);
     $this->renderingContext->setControllerContext($this->getMock('F3\\FLOW3\\MVC\\Controller\\Context', array(), array(), '', FALSE));
     $this->renderingContext->setViewHelperVariableContainer(new \F3\Fluid\Core\ViewHelper\ViewHelperVariableContainer());
 }
 /**
  * Setup fixture
  * @author Sebastian Kurfürst <*****@*****.**>
  */
 public function setUp()
 {
     $this->renderingContext = new \F3\Fluid\Core\Rendering\RenderingContext();
     $this->mockObjectFactory = $this->getMock('F3\\FLOW3\\Object\\ObjectFactoryInterface');
     $this->renderingContext->injectObjectFactory($this->mockObjectFactory);
     $this->templateVariableContainer = $this->getMock('F3\\Fluid\\Core\\ViewHelper\\TemplateVariableContainer');
     $this->renderingContext->setTemplateVariableContainer($this->templateVariableContainer);
     $this->controllerContext = $this->getMock('F3\\FLOW3\\MVC\\Controller\\Context', array(), array(), '', FALSE);
     $this->renderingContext->setControllerContext($this->controllerContext);
     $this->viewHelperVariableContainer = $this->getMock('F3\\Fluid\\Core\\ViewHelper\\ViewHelperVariableContainer');
     $this->renderingContext->setViewHelperVariableContainer($this->viewHelperVariableContainer);
 }