AjScript.Tests.FilesTests.ObjectWithObjects C# (CSharp) Method

ObjectWithObjects() private method

private ObjectWithObjects ( ) : void
return 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));
        }