public void GetSetNameMethod() { var f = new NativeFunction("XXX", a => a[0], 1); var r = f.Execute(10); var name = f.Name; Assert.AreEqual(10, r); Assert.AreEqual("XXX", name); }