getViewHelperChildNodeRenderingContext() public method

public getViewHelperChildNodeRenderingContext ( ) : TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface
return TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface
コード例 #1
0
 /**
  * @test
  */
 public function viewHelperChildNodesCanBeReadAgain()
 {
     $viewHelperChildNodes = $this->createMock(RootNode::class);
     $renderingContext = $this->createMock(RenderingContextInterface::class);
     $this->widgetContext->setViewHelperChildNodes($viewHelperChildNodes, $renderingContext);
     $this->assertSame($viewHelperChildNodes, $this->widgetContext->getViewHelperChildNodes());
     $this->assertSame($renderingContext, $this->widgetContext->getViewHelperChildNodeRenderingContext());
 }