Exemplo n.º 1
0
 public function testAfterDeleteEavCache()
 {
     $this->eavConfigMock->expects($this->once())->method('clear');
     $this->_model->afterDelete();
 }
Exemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public function afterDelete()
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'afterDelete');
     if (!$pluginInfo) {
         return parent::afterDelete();
     } else {
         return $this->___callPlugins('afterDelete', func_get_args(), $pluginInfo);
     }
 }