/**
  * @param \Magento\Framework\Mview\View $view
  * @return void
  */
 public function beforeUnsubscribe($view)
 {
     try {
         $view->getChangelog()->create();
     } catch (\Exception $e) {
     }
 }
 protected function loadView()
 {
     $viewId = 'view_test';
     $this->configMock->expects(
         $this->once()
     )->method(
         'getView'
     )->with(
         $viewId
     )->will(
         $this->returnValue($this->getViewData())
     );
     $this->model->load($viewId);
 }