// }
@Test
public void test_Serialize_AssignmentExpression() {
PuppetManifest pp = pf.createPuppetManifest();
AssignmentExpression ae = pf.createAssignmentExpression();
LiteralBoolean b = pf.createLiteralBoolean();
b.setValue(true);
VariableExpression v = pf.createVariableExpression();
v.setVarName("$x");
ae.setLeftExpr(v);
ae.setRightExpr(b);
pp.getStatements().add(ae);
String s = serializeFormatted(pp);
assertEquals("serialization should produce specified result", Sample_Assignment1, s);
AtExpression at = pf.createAtExpression();
at.setLeftExpr(v);
at.getParameters().add(createNameOrReference("a"));
ae.setLeftExpr(at);
tester.validate(pp).assertOK();
s = serializeFormatted(pp);
assertEquals("serialization should produce specified result", Sample_Assignment2, s);
}