public function testDescriptionEmpty() { $expectedData = 'default_description'; $this->scopeConfig->expects($this->once())->method('getValue')->with('design/head/default_description', 'store') ->will($this->returnValue('default_description')); $this->assertEquals($expectedData, $this->model->getDescription()); }
/** * {@inheritdoc} */ public function getDescription() { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getDescription'); if (!$pluginInfo) { return parent::getDescription(); } else { return $this->___callPlugins('getDescription', func_get_args(), $pluginInfo); } }