/**
  * {@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);
     }
 }
Example #2
0
 public function testGetDefaultGroupId()
 {
     $this->assertEquals(1, $this->_model->getDefaultGroupId());
 }