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

renderSetsThePropertyValueAsTagContentIfItExists() public method

    public function renderSetsThePropertyValueAsTagContentIfItExists()
    {
        $this->templateVariables = array('someProperty' => 'somePropertyValue');
        $this->tagBuilder->expects($this->once())->method('setContent')->with('somePropertyValue');
        $this->injectDependenciesIntoViewHelper($this->editableViewHelper);
        $this->injectTypoScriptObject();
        $this->editableViewHelper->render('someProperty');
    }