line.startsWith("<?xml version=\"1.0\" encoding=\"UTF-16\""));
}
private void assertPathMatches(String expected, String path)
throws Exception {
XMLSupport support = new XMLSupport(XMLFormatter.class);
Document document = support.parse(output.toByteArray());
assertEquals(expected, support.findStr(document, path));
}