public function testSetterAndGetter() { $setData = 'data'; $this->model->setMode($setData); $this->assertEquals($setData, $this->model->getMode()); $this->model->setStatus($setData); $this->assertEquals($setData, $this->model->getStatus()); $this->model->setUpdated($setData); $this->assertEquals($setData, $this->model->getUpdated()); $this->model->setVersionId($setData); $this->assertEquals($setData, $this->model->getVersionId()); }
/** * {@inheritdoc} */ public function setUpdated($updated) { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'setUpdated'); if (!$pluginInfo) { return parent::setUpdated($updated); } else { return $this->___callPlugins('setUpdated', func_get_args(), $pluginInfo); } }