public List<SuppressionRule> getSuppressionRules() {
        return suppressionRules;
    }
@Test
    public void testHandler() throws Exception {
        File file = BaseTest.getResourceAsFile(this, "suppressions.xml");
        InputStream schemaStream = BaseTest.getResourceAsStream(this, "schema/suppression.xsd");

        SuppressionHandler handler = new SuppressionHandler();
        SAXParser saxParser = XmlUtils.buildSecureSaxParser(schemaStream);
        XMLReader xmlReader = saxParser.getXMLReader();
        xmlReader.setErrorHandler(new SuppressionErrorHandler());
        xmlReader.setContentHandler(handler);

        InputStream inputStream = new FileInputStream(file);
        Reader reader = new InputStreamReader(inputStream, StandardCharsets.UTF_8);
        InputSource in = new InputSource(reader);
        //in.setEncoding(StandardCharsets.UTF_8);

        xmlReader.parse(in);

        List<SuppressionRule> result = handler.getSuppressionRules();
        assertTrue(result.size() > 3);
        int baseCount = 0;
        for (SuppressionRule r : result) {
            if (r.isBase()) {
                baseCount++;
            }
        }
        assertTrue(baseCount > 0);
    }