295296297298299300301302303304305
} catch (IOException e) { fail(e.getMessage()); } Parser p2 = new Parser(); p2.loadFromXML(doc.getFirstChild()); assertEquals(p2.getRulesCount(), regexs.length); for (int i=0; i < p2.getRulesCount(); i++) {