public void GetMetaClassByClassName() { Machine machine = new Machine(); IClass klass = machine.CreateClass("Rectangle"); machine.SetGlobalObject(klass.Name, klass); var result = machine.GetMetaClass(klass.Name); Assert.IsNotNull(result); Assert.AreSame(klass.Behavior, result); }