AjScript.Tests.FilesTests.ObjectWithObjects C# (CSharp) Méthode

ObjectWithObjects() private méthode

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