    @Test
    public void test() throws DocumentException {

        FileFilterXmlParser parser = new FileFilterXmlParser(loadResourceFile("demo/config-filter.xml").toPath());
        FileFilterConfig fileFilter = parser.parse();
        assert fileFilter != null;
        assert fileFilter.isActive();
        assert fileFilter.getRules().size() == 2;
    }