/**
  * {@inheritdoc}
  */
 public function getStoreCodes()
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getStoreCodes');
     if (!$pluginInfo) {
         return parent::getStoreCodes();
     } else {
         return $this->___callPlugins('getStoreCodes', func_get_args(), $pluginInfo);
     }
 }
Example #2
0
 public function testGetStoreCodes()
 {
     $this->assertEquals(array(1 => 'default'), $this->_model->getStoreCodes());
 }