public function setUp() { parent::setUp(); $this->viewHelper = $this->getMock($this->buildAccessibleProxy('F3\\Fluid\\ViewHelpers\\Link\\ActionViewHelper'), array('renderChildren')); $this->injectDependenciesIntoViewHelper($this->viewHelper); $this->viewHelper->initializeArguments(); }
public function setUp() { parent::setUp(); $this->viewHelper = new \F3\Fluid\ViewHelpers\Form\SubmitViewHelper(); $this->injectDependenciesIntoViewHelper($this->viewHelper); $this->viewHelper->initializeArguments(); }
public function setUp() { parent::setUp(); $this->viewHelper = $this->getMock($this->buildAccessibleProxy('F3\\Fluid\\ViewHelpers\\Form\\HiddenViewHelper'), array('setErrorClassAttribute', 'getName', 'getValue', 'registerFieldNameForFormTokenGeneration')); $this->injectDependenciesIntoViewHelper($this->viewHelper); $this->viewHelper->initializeArguments(); }
public function setUp() { parent::setUp(); $this->viewHelper = $this->getMock('F3\\Fluid\\ViewHelpers\\GroupedForViewHelper', array('renderChildren')); $this->injectDependenciesIntoViewHelper($this->viewHelper); $this->viewHelper->initializeArguments(); }
public function setUp() { parent::setUp(); $this->mockResourcePublisher = $this->getMock('F3\\FLOW3\\Resource\\Publishing\\ResourcePublisher'); $this->viewHelper = $this->getMock($this->buildAccessibleProxy('F3\\Fluid\\ViewHelpers\\Uri\\ResourceViewHelper'), array('renderChildren'), array(), '', FALSE); $this->viewHelper->injectResourcePublisher($this->mockResourcePublisher); $this->injectDependenciesIntoViewHelper($this->viewHelper); $this->viewHelper->initializeArguments(); }