public <T> T fromXmlPartial(String partial, Class<T> o) throws Exception {
        return fromXmlPartial(toInputStream(partial, UTF_8), o);
    }
@Test
    void shouldLoadIgnoresFromSvnPartial() throws Exception {
        String buildXmlPartial =
                """
                        <svn url="file:///tmp/testSvnRepo/project1/trunk" >
                                    <filter>
                                        <ignore pattern="x"/>
                                    </filter>
                                </svn>""";
        MaterialConfig svnMaterial = xmlLoader.fromXmlPartial(buildXmlPartial, SvnMaterialConfig.class);
        Filter parsedFilter = svnMaterial.filter();
        Filter expectedFilter = new Filter();
        expectedFilter.add(new IgnoredFiles("x"));
        assertThat(parsedFilter).isEqualTo(expectedFilter);
    }