/**
  * {@inheritdoc}
  */
 public function updateMview()
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'updateMview');
     if (!$pluginInfo) {
         return parent::updateMview();
     } else {
         return $this->___callPlugins('updateMview', func_get_args(), $pluginInfo);
     }
 }
 public function testUpdateMview()
 {
     $this->viewProcessorMock->expects($this->once())->method('update')->with('indexer')->willReturnSelf();
     $this->model->updateMview();
 }
 /**
  * Regenerate indexes for all invalid indexers
  *
  * @return void
  */
 public function execute()
 {
     $this->processor->updateMview();
 }