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