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