protected function setUp()
 {
     $this->product = $this->getMock('Magento\\Catalog\\Model\\Product', [], [], '', false);
     $this->productFactory = $this->getMock('Magento\\Catalog\\Model\\ProductFactory', ['create'], [], '', false);
     $this->productFactory->expects($this->any())->method('create')->will($this->returnValue($this->product));
     $this->stock = $this->getMock('Magento\\CatalogInventory\\Model\\ResourceModel\\Stock', [], [], '', false);
     $this->stockFactory = $this->getMock('Magento\\CatalogInventory\\Model\\ResourceModel\\StockFactory', ['create'], [], '', false);
     $this->stockFactory->expects($this->any())->method('create')->will($this->returnValue($this->stock));
     $this->status = $this->getMock('Magento\\Catalog\\Model\\Product\\Attribute\\Source\\Status');
     $this->eventManager = $this->getMock('Magento\\Framework\\Event\\Manager', [], [], '', false);
     $this->objectManagerHelper = new ObjectManagerHelper($this);
     $this->notifyStock = $this->objectManagerHelper->getObject('Magento\\Catalog\\Model\\Rss\\Product\\NotifyStock', ['productFactory' => $this->productFactory, 'stockFactory' => $this->stockFactory, 'productStatus' => $this->status, 'eventManager' => $this->eventManager]);
 }