/**
  * @test
  * @author Sebastian Kurfürst <*****@*****.**>
  */
 public function viewCanBeReadOutAgain()
 {
     $view = $this->getMock('Tx_Fluid_View_AbstractTemplateView', array('getTemplateSource', 'getLayoutSource', 'getPartialSource', 'hasTemplate', 'canRender'));
     $this->viewHelperVariableContainer->setView($view);
     $this->assertSame($view, $this->viewHelperVariableContainer->getView());
 }
 /**
  * @test
  * @author Sebastian Kurfürst <*****@*****.**>
  * @author Bastian Waidelich <*****@*****.**>
  */
 public function viewIsPlacedInViewHelperVariableContainer()
 {
     $this->viewHelperVariableContainer->expects($this->once())->method('setView')->with($this->view);
     $this->view->setRenderingContext($this->renderingContext);
 }
 /**
  * @test
  * @author Sebastian Kurfürst <*****@*****.**>
  */
 public function viewCanBeReadOutAgain()
 {
     $view = $this->getMock('Tx_Extbase_MVC_View_ViewInterface');
     $this->viewHelperVariableContainer->setView($view);
     $this->assertSame($view, $this->viewHelperVariableContainer->getView());
 }