* - a += expr
*/
@Test
public void test_Validate_AppendExpression_NotOk() {
PuppetManifest pp = pf.createPuppetManifest();
AppendExpression ae = pf.createAppendExpression();
pp.getStatements().add(ae);
LiteralBoolean b = pf.createLiteralBoolean();
VariableExpression v = pf.createVariableExpression();
v.setVarName("$x");
AtExpression at = pf.createAtExpression();
at.setLeftExpr(v);
at.getParameters().add(createNameOrReference("a"));
ae.setLeftExpr(at);
ae.setRightExpr(b);
tester.validate(pp).assertError(IPPDiagnostics.ISSUE__NOT_APPENDABLE);
ae.setLeftExpr(createNameOrReference("a"));
tester.validate(pp).assertError(IPPDiagnostics.ISSUE__NOT_APPENDABLE);
}