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();
String result1 = dumper.dump( pkgOriginal );
final PackageDescr pkgDerivated = parser.parse( new StringReader( result1 ) );
String result2 = dumper.dump( pkgDerivated );
assertEqualsIgnoreWhitespace( result1,
result2 );
}