AssetItem assetOriginal = fm.getRepository().loadPackage( "testClassicDRLImport" ).loadAsset( "ola" );
long ver = assetOriginal.getVersionNumber();
drl = "package testClassicDRLImport\n import blah \n rule 'ola' \n when CHANGED\n then \n end \n rule 'hola' \n when \n then \n end";
in = new ByteArrayInputStream( drl.getBytes() );
fm.importClassicDRL( in,
null );
pkg = fm.getRepository().loadPackage( "testClassicDRLImport" );
AssetItem asset = pkg.loadAsset( "ola" );
assertTrue( asset.getContent().indexOf( "CHANGED" ) > 0 );