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