public void NativeInstancePropertySetMessage()
        {
            var ctx = new LocalContext();
            var inst = new PropertyTestClass();

            ctx.SetVariable("x", new STInstance(inst));
            compiler.Evaluate("x instanceProperty: 3", ctx);
            Assert.AreEqual((long)3, inst.InstanceProperty);
        }
        public void NativeInstancePropertyGetMessage()
        {
            var ctx = new LocalContext();
            var inst = new PropertyTestClass();

            inst.InstanceProperty = 3;

            ctx.SetVariable("x", new STInstance(inst));
            var three = compiler.Evaluate("x instanceProperty", ctx);
            Assert.IsNotNull(three);
            Assert.IsInstanceOfType(typeof(STInstance), three);
            Assert.AreEqual((three as STInstance).Target, (long)3);
        }