AjTalk.Tests.LibraryTests.LoadTest C# (CSharp) Method

LoadTest() private method

private LoadTest ( ) : void
return void
        public void LoadTest()
        {
            Assert.IsNotNull(this.machine.GetGlobalObject("Test"));
            IClass cls = (IClass)this.machine.GetGlobalObject("Object");
            Assert.IsNotNull(cls.GetInstanceMethod("error:"));
            Assert.IsNotNull(cls.GetClassMethod("error:"));
            cls = (IClass)this.machine.GetGlobalObject("Class");
            Assert.IsNotNull(cls.GetInstanceMethod("error:"));
            Assert.IsNotNull(cls.GetClassMethod("error:"));
            cls = (IClass)this.machine.GetGlobalObject("Test");
            Assert.IsNotNull(cls.GetInstanceMethod("error:"));
            Assert.IsNotNull(cls.GetClassMethod("error:"));
        }