predicate3.setLeftExpr(createNameOrReference("name"));
predicate3.setOpName("!=");
predicate3.setRightExpr(createNameOrReference("Vader"));
or.setLeftExpr(predicate2);
or.setRightExpr(predicate3);
ParenthesisedExpression pe = pf.createParenthesisedExpression();
pe.setExpr(or);
and.setRightExpr(pe);
eq.setExpr(and);
s = serializeFormatted(pp);
assertEquals("serialization should produce specified result", Sample_Collect_Complex, s);