AjTalk.Tests.MachineTests.LoadLibrary2UsingFromAnotherFile C# (CSharp) Method

LoadLibrary2UsingFromAnotherFile() private method

private LoadLibrary2UsingFromAnotherFile ( ) : void
return void
        public void LoadLibrary2UsingFromAnotherFile()
        {
            Machine machine = new Machine();

            machine.LoadFile(@"LoadLibrary2.st");

            Assert.IsNotNull(machine.GetGlobalObject("Object"));
            Assert.IsNotNull(machine.GetGlobalObject("Behavior"));
            Assert.IsNotNull(machine.GetGlobalObject("ClassDescription"));
            Assert.IsNotNull(machine.GetGlobalObject("Class"));
            Assert.IsNotNull(machine.GetGlobalObject("Metaclass"));
            Assert.IsNotNull(machine.GetGlobalObject("UndefinedObject"));
        }