void () { LinkedHashMap<String, Serializable> map = new LinkedHashMap<>(3); map.put("initial", """ <root> <meta></meta> <title></title> </root> """); map.put("expected", """ <root> <title></title> <meta></meta> </root> """); map.put("rules", new ArrayList<>( Arrays.asList(ruleWithOrder(BY_NAME, nameRule("title"))))); doTest(map); }