assertTrue( drl.indexOf( "Accident( )" ) > -1 );
assertTrue( drl.indexOf( "no-loop true" ) > -1 );
assertTrue( drl.indexOf( "org.kie" ) == -1 );
assertTrue( drl.indexOf( "g.add( x );" ) > -1 );
PackageDataModelOracle dmo = mock( PackageDataModelOracle.class );
RuleModel rm_ = RuleModelDRLPersistenceImpl.getInstance().unmarshal( drl,
Collections.EMPTY_LIST,
dmo );
assertEquals( 2,
rm_.rhs.length );