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