public function testIsInRootCategoryList() { $this->assertFalse($this->_model->isInRootCategoryList()); $this->_model->unsetData(); $this->_model->load(3); $this->assertTrue($this->_model->isInRootCategoryList()); }
/** * {@inheritdoc} */ public function isInRootCategoryList() { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'isInRootCategoryList'); if (!$pluginInfo) { return parent::isInRootCategoryList(); } else { return $this->___callPlugins('isInRootCategoryList', func_get_args(), $pluginInfo); } }