public function renderCallsContentElementEditableServiceForAugmentation() { $this->templateVariables = array('someProperty' => 'somePropertyValue'); $this->tagBuilder->expects($this->once())->method('render')->with()->willReturn('<div>somePropertyValue</div>'); $this->mockContentElementEditableService->expects($this->once())->method('wrapContentProperty')->with($this->mockNode, 'someProperty', '<div>somePropertyValue</div>'); $this->injectDependenciesIntoViewHelper($this->editableViewHelper); $this->injectTypoScriptObject(); $this->editableViewHelper->render('someProperty'); }