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