Ejemplo n.º 1
0
        public void initialize0()
        {
            Type ot = initModule();
            Type t  = initStringModule();
            var  o  = new PrivateType(t).InvokeStatic("initialize");

            Assert.AreEqual("LP.Object.LpObject", o.GetType().ToString());
            Assert.AreEqual("", o.GetType().InvokeMember("stringValue", BindingFlags.Public | BindingFlags.Instance | BindingFlags.GetField, null, o, null));
        }