public void testEmptyFreeForm() {
//https://bugzilla.redhat.com/show_bug.cgi?id=1058247
TemplateModel m = new TemplateModel();
m.name = "Empty FreeFormLine";
FreeFormLine fl = new FreeFormLine();
m.addLhsItem( fl );
FactPattern fp = new FactPattern( "Person" );
fp.setBoundName( "$p" );
SingleFieldConstraint sfc1 = new SingleFieldConstraint();
sfc1.setFieldName( "field1" );
sfc1.setFieldType( DataType.TYPE_STRING );
sfc1.setConstraintValueType( SingleFieldConstraint.TYPE_TEMPLATE );
sfc1.setValue( "$f1" );
sfc1.setOperator( "==" );
fp.addConstraint( sfc1 );
m.addLhsItem( fp );
FreeFormLine fr = new FreeFormLine();
m.addRhsItem( fr );
ActionSetField asf = new ActionSetField( "$p" );
ActionFieldValue afv0 = new ActionFieldValue();
afv0.setNature( FieldNatureType.TYPE_TEMPLATE );