public function testReindexAll()
 {
     $this->_indexerRegistryMock->expects($this->once())->method('get')->with(self::INDEXER_ID)->willReturnSelf();
     $this->_indexerRegistryMock->expects($this->once())->method('reindexAll')->willReturnSelf();
     $this->model->reindexAll();
 }
 public function testReindexAll()
 {
     $this->_indexerRegistryMock->expects($this->once())->method('get')->with(\Magento\Catalog\Model\Indexer\Category\Product::INDEXER_ID)->willReturnSelf();
     $this->_indexerRegistryMock->expects($this->once())->method('reindexAll')->willReturnSelf();
     $this->model->reindexAll();
 }