AjScript.Tests.FilesTests.ObjectWithObjects C# (CSharp) 메소드

ObjectWithObjects() 개인적인 메소드

private ObjectWithObjects ( ) : void
리턴 void
        public void ObjectWithObjects()
        {
            object result = this.EvaluateFile("ObjectWithObjects.js");
            Assert.IsNotNull(result);
            Assert.IsInstanceOfType(result, typeof(IObject));

            IObject obj = (IObject)result;
            Assert.IsInstanceOfType(obj.GetValue("stooge"), typeof(IObject));
            Assert.IsInstanceOfType(obj.GetValue("flight"), typeof(IObject));
        }