Example #1
0
 public function testIsAdvanced()
 {
     $this->_model->setData([], 'scope');
     $this->assertFalse($this->_model->isAdvanced());
     $this->_model->setData(['advanced' => true], 'scope');
     $this->assertTrue($this->_model->isAdvanced());
     $this->_model->setData(['advanced' => false], 'scope');
     $this->assertFalse($this->_model->isAdvanced());
 }
 /**
  * {@inheritdoc}
  */
 public function isAdvanced()
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'isAdvanced');
     if (!$pluginInfo) {
         return parent::isAdvanced();
     } else {
         return $this->___callPlugins('isAdvanced', func_get_args(), $pluginInfo);
     }
 }