public List<Modification> parse(String svnLogOutput, String path, SAXBuilder builder) {
        try {
            Document document = builder.build(new StringReader(svnLogOutput));
            return parseDOMTree(document, path);
        } catch (Exception e) {
            throw bomb("Unable to parse svn log output: " + svnLogOutput, e);
        }
    }
@Test
    public void shouldReportSvnOutputWhenErrorsHappen() {
        SvnLogXmlParser parser = new SvnLogXmlParser();
        assertThatThrownBy(() -> parser.parse("invalid xml", "", new SAXBuilder()))
            .isInstanceOf(RuntimeException.class)
            .hasMessageContaining("invalid xml");
    }