Neos\Neos\Tests\Unit\ViewHelpers\EditableViewHelperTest::renderSetsTheChildNodesAsTagContentIfTheyAreSet PHP Method

renderSetsTheChildNodesAsTagContentIfTheyAreSet() public method

    public function renderSetsTheChildNodesAsTagContentIfTheyAreSet()
    {
        $this->templateVariables = array('someProperty' => 'somePropertyValue');
        $this->editableViewHelper->expects($this->atLeastOnce())->method('renderChildren')->will($this->returnValue('overriddenPropertyValue'));
        $this->tagBuilder->expects($this->once())->method('setContent')->with('overriddenPropertyValue');
        $this->injectDependenciesIntoViewHelper($this->editableViewHelper);
        $this->injectTypoScriptObject();
        $this->editableViewHelper->render('someProperty');
    }