public HashMap<String, String> parseInfoToGetUUID(String output, String queryURL, SAXBuilder builder) {
        HashMap<String, String> uidToUrlMap = new HashMap<>();
        try {
            Document document = builder.build(new StringReader(output));
            Element root = document.getRootElement();
            List<Element> entries = root.getChildren("entry");
            for (Element entry : entries) {
                uidToUrlMap.put(queryURL, entry.getChild("repository").getChild("uuid").getValue());
            }
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
        return uidToUrlMap;
    }
@Test
    public void shouldParseSvnInfoOutputToConstructUrlToRemoteUUIDMapping() {
        final SvnLogXmlParser svnLogXmlParser = new SvnLogXmlParser();
        final String svnInfoOutput = """
                <?xml version="1.0"?>
                <info>
                <entry
                   kind="dir"
                   path="trunk"
                   revision="3432">
                <url>http://gears.googlecode.com/svn/trunk</url>
                <repository>
                <root>http://gears.googlecode.com/svn</root>
                <uuid>fe895e04-df30-0410-9975-d76d301b4276</uuid>
                </repository>
                <commit
                   revision="3430">
                <author>gears.daemon</author>
                <date>2010-10-06T02:00:50.517477Z</date>
                </commit>
                </entry>
                </info>""";
        final HashMap<String, String> map = svnLogXmlParser.parseInfoToGetUUID(svnInfoOutput, "http://gears.googlecode.com/svn/trunk", new SAXBuilder());
        assertThat(map.size()).isEqualTo(1);
        assertThat(map.get("http://gears.googlecode.com/svn/trunk")).isEqualTo("fe895e04-df30-0410-9975-d76d301b4276");
    }