public function testGetFileLayoutUpdatesXml() { $errorString = "Theme layout update file '" . __DIR__ . "/_mergeFiles/layout/file_wrong.xml' is not valid."; $this->_logger->expects($this->atLeastOnce())->method('info')->with($this->stringStartsWith($errorString)); $actualXml = $this->_model->getFileLayoutUpdatesXml(); $this->assertXmlStringEqualsXmlFile(__DIR__ . '/_mergeFiles/merged.xml', $actualXml->asNiceXml()); }
/** * {@inheritdoc} */ public function getFileLayoutUpdatesXml() { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getFileLayoutUpdatesXml'); if (!$pluginInfo) { return parent::getFileLayoutUpdatesXml(); } else { return $this->___callPlugins('getFileLayoutUpdatesXml', func_get_args(), $pluginInfo); } }