public function setUp() { parent::setUp(); $this->viewHelper = $this->getAccessibleMock(IfViewHelper::class, ['renderThenChild', 'renderElseChild']); $this->injectDependenciesIntoViewHelper($this->viewHelper); $this->viewHelper->initializeArguments(); }
public function setUp() { parent::setUp(); $this->arguments['reverse'] = NULL; $this->arguments['key'] = NULL; $this->arguments['iteration'] = NULL; }
public function setUp() { parent::setUp(); $this->viewHelper = $this->getMock(CycleViewHelper::class, array('renderChildren')); $this->injectDependenciesIntoViewHelper($this->viewHelper); $this->viewHelper->initializeArguments(); }
public function setUp() { parent::setUp(); $this->viewHelper = $this->getMock('TYPO3Fluid\\Fluid\\ViewHelpers\\CycleViewHelper', array('renderChildren')); $this->injectDependenciesIntoViewHelper($this->viewHelper); $this->viewHelper->initializeArguments(); }
public function setUp() { parent::setUp(); $this->viewHelper = $this->getAccessibleMock('TYPO3Fluid\\Fluid\\Core\\ViewHelper\\AbstractConditionViewHelper', array('getRenderingContext', 'renderChildren', 'hasArgument')); $this->viewHelper->expects($this->any())->method('getRenderingContext')->will($this->returnValue($this->renderingContext)); $this->injectDependenciesIntoViewHelper($this->viewHelper); }
/** * @return void */ public function setUp() { parent::setUp(); $this->subject = $this->getMock(RenderViewHelper::class, array('renderChildren')); $this->view = $this->getMock(TemplateView::class, array('renderPartial', 'renderSection')); $this->view->setRenderingContext($this->renderingContext); $container = new ViewHelperVariableContainer(); $container->setView($this->view); $this->renderingContext->setViewHelperVariableContainer($container); $this->subject->setRenderingContext($this->renderingContext); }
public function setUp() { parent::setUp(); $this->viewHelper = $this->getMock('TYPO3Fluid\\Fluid\\ViewHelpers\\Format\\PrintfViewHelper', array('renderChildren')); $this->injectDependenciesIntoViewHelper($this->viewHelper); }
public function setUp() { parent::setUp(); $this->viewHelper = $this->getMock(SwitchViewHelper::class, array('renderChildren')); $this->injectDependenciesIntoViewHelper($this->viewHelper); }
public function setUp() { parent::setUp(); $this->viewHelper = $this->getMock(GroupedForViewHelper::class, ['renderChildren']); $this->injectDependenciesIntoViewHelper($this->viewHelper); }
public function setUp() { parent::setUp(); $this->viewHelper = $this->getAccessibleMock(CountViewHelper::class, array('buildRenderChildrenClosure')); }
public function setUp() { parent::setUp(); $this->viewHelper = $this->getAccessibleMock(CountViewHelper::class, ['renderChildren']); }
public function setUp() { parent::setUp(); $this->viewHelper = $this->getAccessibleMock('TYPO3Fluid\\Fluid\\ViewHelpers\\CountViewHelper', array('renderChildren')); }
public function setUp() { parent::setUp(); $this->viewHelper = $this->getAccessibleMock(AbstractConditionViewHelper::class, array('renderChildren', 'hasArgument')); $this->injectDependenciesIntoViewHelper($this->viewHelper); }
public function setUp() { parent::setUp(); $this->viewHelper = $this->getMock(HtmlspecialcharsViewHelper::class, ['renderChildren']); $this->injectDependenciesIntoViewHelper($this->viewHelper); }