public static void DrlFile(String filename) throws Exception {
DrlParser parser = new DrlParser();
final PackageDescr pkgOriginal = parser.parse( new InputStreamReader( DumperTestHelper.class.getResourceAsStream( filename ) ) );
final DrlDumper dumper = new DrlDumper();
final String result = dumper.dump( pkgOriginal );
parser = new DrlParser();
String buffer = readFile( filename );
assertEqualsIgnoreWhitespace( buffer.toString(),
result );