getConfigFiles( 'system.xml', ['wsdl.xml', 'wsdl2.xml', 'wsi.xml'], false ); foreach ($fileList as $configFile) { $configXml = simplexml_load_file($configFile); $xpath = '/config/tabs|/config/sections'; $this->assertEmpty( $configXml->xpath($xpath), 'Obsolete system configuration structure detected in file ' . $configFile . '.' ); } } }