/** * {@inheritdoc} */ public function getDefaultGroupId() { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getDefaultGroupId'); if (!$pluginInfo) { return parent::getDefaultGroupId(); } else { return $this->___callPlugins('getDefaultGroupId', func_get_args(), $pluginInfo); } }
public function testGetDefaultGroupId() { $this->assertEquals(1, $this->_model->getDefaultGroupId()); }