/**
  * Helper method which triggers the rendering of everything between the
  * opening and the closing tag.
  *
  * @return mixed The finally rendered child nodes.
  * @author Sebastian Kurfürst <*****@*****.**>
  * @author Bastian Waidelich <*****@*****.**>
  * @api
  */
 protected function renderChildren()
 {
     return $this->viewHelperNode->evaluateChildNodes();
 }
 /**
  * @test
  * @author Sebastian Kurfürst <*****@*****.**>
  */
 public function multipleEvaluateCallsShareTheSameViewHelperInstance()
 {
     $mockViewHelper = $this->getMock('F3\\Fluid\\Core\\ViewHelper\\AbstractViewHelper', array('render', 'validateArguments', 'prepareArguments', 'setViewHelperVariableContainer'));
     $mockViewHelper->expects($this->any())->method('render')->will($this->returnValue('String'));
     $viewHelperNode = new \F3\Fluid\Core\Parser\SyntaxTree\ViewHelperNode($mockViewHelper, array());
     $mockViewHelperArguments = $this->getMock('F3\\Fluid\\Core\\ViewHelper\\Arguments', array(), array(), '', FALSE);
     $this->mockObjectFactory->expects($this->at(0))->method('create')->with('F3\\Fluid\\Core\\ViewHelper\\Arguments')->will($this->returnValue($mockViewHelperArguments));
     $this->mockObjectFactory->expects($this->at(1))->method('create')->with('F3\\Fluid\\Core\\ViewHelper\\Arguments')->will($this->returnValue($mockViewHelperArguments));
     $viewHelperNode->setRenderingContext($this->renderingContext);
     $viewHelperNode->evaluate();
     $viewHelperNode->evaluate();
 }