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