public function setup()
 {
     $this->context = $this->getMockForAbstractClass('Magento\\Framework\\View\\Element\\UiComponent\\ContextInterface', [], '', false);
     $this->uiComponentFactory = $this->getMock('Magento\\Framework\\View\\Element\\UiComponentFactory', [], [], '', false);
     $this->urlBuilder = $this->getMockForAbstractClass('Magento\\Framework\\UrlInterface', [], '', false);
     $this->component = new Actions($this->context, $this->uiComponentFactory, $this->urlBuilder);
     $this->component->setData('name', 'name');
 }
 public function setup()
 {
     $this->context = $this->getMockBuilder('Magento\\Framework\\View\\Element\\UiComponent\\ContextInterface')->getMockForAbstractClass();
     $processor = $this->getMockBuilder('Magento\\Framework\\View\\Element\\UiComponent\\Processor')->disableOriginalConstructor()->getMock();
     $this->context->expects($this->any())->method('getProcessor')->willReturn($processor);
     $this->uiComponentFactory = $this->getMock('Magento\\Framework\\View\\Element\\UiComponentFactory', [], [], '', false);
     $this->urlBuilder = $this->getMockForAbstractClass('Magento\\Framework\\UrlInterface', [], '', false);
     $this->component = new Actions($this->context, $this->uiComponentFactory, $this->urlBuilder);
     $this->component->setData('name', 'name');
 }