public function testIndexerAfterDeleteAttribute() { $this->_processor->expects($this->once())->method('markIndexerAsInvalid'); $this->_model->setOrigData('id', 2); $this->_model->setOrigData('used_in_product_listing', 1); $this->_model->afterDeleteCommit(); }
/** * {@inheritdoc} */ public function setOrigData($key = null, $data = null) { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'setOrigData'); if (!$pluginInfo) { return parent::setOrigData($key, $data); } else { return $this->___callPlugins('setOrigData', func_get_args(), $pluginInfo); } }