public void testLHSExpressionNestedString() {
RuleModel m = new RuleModel();
m.name = "test expressionsNestedString";
FactPattern p = new FactPattern( "Person" );
SingleFieldConstraintEBLeftSide con = new SingleFieldConstraintEBLeftSide();
con.getExpressionLeftSide().appendPart( new ExpressionUnboundFact( p ) );
con.getExpressionLeftSide().appendPart( new ExpressionField( "favouriteCheese",
"Cheese",
SuggestionCompletionEngine.TYPE_OBJECT ) );
con.getExpressionLeftSide().appendPart( new ExpressionField( "name",
"java.lang.String",
SuggestionCompletionEngine.TYPE_STRING ) );
con.setOperator( "==" );
con.setValue( "Cheedar" );
con.setConstraintValueType( SingleFieldConstraint.TYPE_LITERAL );
p.addConstraint( con );
m.addLhsItem( p );
String result = BRDRLPersistence.getInstance().marshal( m );