public function setUp()
 {
     parent::setUp();
     $this->viewHelper = $this->getAccessibleMock('TYPO3\\CMS\\Fluid\\ViewHelpers\\Form\\TextfieldViewHelper', array('setErrorClassAttribute', 'registerFieldNameForFormTokenGeneration'));
     $this->arguments['name'] = '';
     $this->injectDependenciesIntoViewHelper($this->viewHelper);
     $this->viewHelper->initializeArguments();
 }
 /**
  * Initialize arguments.
  *
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('repository', 'string', 'Specifies the tree repository', false);
     $this->registerArgument('namespace', 'string', 'Specifies the tree namespace', false);
     $this->registerArgument('type', 'string', 'Specifies the tree type', false);
     $this->registerArgument('respectEnableFields', 'boolean', 'Should the tree respect enable fields', false);
     $this->registerArgument('moduleName', 'string', 'Specify the module name', false);
 }
 /**
  * Initialize arguments.
  *
  * @return void
  */
 public function initializeArguments()
 {
     parent::initializeArguments();
     $this->registerArgument('nodes', 'string', 'The tree nodes as JSON Array', false);
     $this->registerArgument('repository', 'string', 'Specifies the node repository', false);
     $this->registerArgument('namespace', 'string', 'Specifies the tree namespace', false);
     $this->registerArgument('multiple', 'boolean', 'Specifies if the tree is a multiple or single select tree', false, false);
     $this->overrideArgument('id', 'string', 'Specifies the field and div ID', true, 'ptExtbaseTreeSelector');
     $this->registerArgument('restrictedDepth', 'int', 'Depth of tree to be rendered', false);
     $this->registerArgument('expand', 'string', 'Expand Mode. "all" or "root"', false, 'root');
     $this->registerArgument('respectEnableFields', 'int', '0 = Show all entries, 1 = do not display hidden', false, 1);
 }