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