RuleModel m = new RuleModel();
m.name = "with composite";
m.lhs = new IPattern[ 1 ];
m.rhs = new IAction[ 1 ];
FreeFormLine fl = new FreeFormLine();
fl.setText( "Person()" );
m.lhs[ 0 ] = fl;
FreeFormLine fr = new FreeFormLine();
fr.setText( "fun()" );
m.rhs[ 0 ] = fr;
String drl = brlPersistence.marshal( m );
assertNotNull( drl );
assertTrue( drl.indexOf( "Person()" ) > 0 );