public function testAfterDeleteEavCache() { $this->eavConfigMock->expects($this->once())->method('clear'); $this->_model->afterDelete(); }
/** * {@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); } }