" System.out.println( \"aprSurcharge added is \" + aprSurcharge );\n" +
" application.setApr( application.getApr() + aprSurcharge );\n" +
" System.out.println(\"Executed Rule: \" + drools.getRule().getName() );\n" +
"end";
RuleModel m = RuleModelDRLPersistenceImpl.getInstance().unmarshal( drl,
Collections.EMPTY_LIST,
dmo );
assertNotNull( m );
assertEquals( 7, m.rhs.length );
assertTrue( m.rhs[ 0 ] instanceof FreeFormLine );