/**
  * {@inheritdoc}
  */
 public function getDefaultStoresSelect($withDefault = false)
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getDefaultStoresSelect');
     if (!$pluginInfo) {
         return parent::getDefaultStoresSelect($withDefault);
     } else {
         return $this->___callPlugins('getDefaultStoresSelect', func_get_args(), $pluginInfo);
     }
 }
Example #2
0
 public function testGetDefaultStoresSelect()
 {
     $this->assertInstanceOf('Magento\\Framework\\DB\\Select', $this->_model->getDefaultStoresSelect());
 }