public static Element parse(String... xmlLines) {
        List<String> lines = new ArrayList<>();
        lines.add("<?xml version='1.0' encoding='utf-8' ?>");
        lines.addAll(List.of(xmlLines));

        try {
            return XmlHelper.getDocument(new StringReader(CollectionUtil.mkString(lines, "\n").replace("'", "\""))).getDocumentElement();
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }
@param xmlLines XML with " replaced with '
config-model/src/main/java/com/yahoo/config/model/test/TestUtil.java