public static String pettyPrint(String xml, int blanks) throws Exception {
        return doParse(xml, blanks, false, new NoopColor());
    }
@Test
    public void testPrettyPrint() throws Exception {
        String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><root><tag><nested>hello</nested></tag></root>";
        String expected = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
                          + "<root>\n"
                          + "  <tag>\n"
                          + "    <nested>\n"
                          + "      hello\n"
                          + "    </nested>\n"
                          + "  </tag>\n"
                          + "</root>";
        String pretty = XmlPrettyPrinter.pettyPrint(xml, 2, true);
        Assertions.assertEquals(expected, pretty);
    }