AjTalk.Tests.Hosting.HostTests.ExecuteASetCommand C# (CSharp) Method

ExecuteASetCommand() private method

private ExecuteASetCommand ( ) : void
return void
        public void ExecuteASetCommand()
        {
            this.machine.SetGlobalObject("anObject", 1);
            this.host.Execute("anObject := 2");
            Assert.AreEqual(2, this.machine.GetGlobalObject("anObject"));
        }