Neos\FluidAdaptor\Tests\Unit\Core\Widget\WidgetContextTest::viewHelperChildNodesCanBeReadAgain PHP Method

viewHelperChildNodesCanBeReadAgain() public method

    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());
    }