public void TestAppendString() { var variable = new VariableExpression("variable"); var value = new IntegerConstantExpression(99); var expr = new AssignmentExpression(variable, value); var builder = new StringBuilder(); expr.AppendString(builder); Assert.That(builder.ToString(), Is.EqualTo("variable = 99")); }