void () { XmlFile file = createXmlFile("<root xmlns=\"foo\" aaa>"); ensureParsed(file); final XmlFileHeader header = DomService.getInstance().getXmlFileHeader(file); assertEquals(new XmlFileHeader("root", "foo", null, null), header); }