/** * {@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); } }
public function testGetStoreCodes() { $this->assertEquals(array(1 => 'default'), $this->_model->getStoreCodes()); }