public bool HasVariable()
{
return false;
}
public void ReceiveMessageWithNoMatch() { Process process = new Process(); process.Tell(new Atom("foo")); Process.Current = process; MatchBody match = new MatchBody(new Atom("ping"), new ConstantExpression("pong")); ReceiveExpression expr = new ReceiveExpression(new MatchBody[] { match }); Assert.IsFalse(expr.HasVariable()); Assert.IsNull(expr.Evaluate(null)); }