public void CreateAndExecuteFunctionalMethod()
{
int count = 0;
FunctionalMethod method = new FunctionalMethod((Machine machine, IObject x, IObject y, object[] args) => ++count);
Assert.IsNull(method.Name);
Assert.IsNull(method.Behavior);
object result = method.Execute(null, null, null);
Assert.AreEqual(1, count);
Assert.AreEqual(1, result);
}