public SPF1RecordTestSuite() throws IOException {
super();
List<SPF1RecordTestDef> tests = loadTests();
Iterator<SPF1RecordTestDef> i = tests.iterator();
SPFRecordParser parser = new RFC4408SPF1Parser(new ConsoleLogger(), new DefaultTermsFactory(new ConsoleLogger()));
while (i.hasNext()) {
addTest(new SPF1ParserTest((SPF1RecordTestDef) i.next(), parser));
}
}