public void CreateInstance_StringString()
        {
            ObjectHandle objHandle  = Activator.CreateInstance(null, "MonoTests.System.ActivatorTestInternal.COMTest");
            COMTest      objCOMTest = (COMTest)objHandle.Unwrap();

            objCOMTest.Id = 2;
            Assert.AreEqual(2, objCOMTest.Id, "#A03");
        }
        public void CreateInstance_TypeObjectArray()
        {
            object[] objArray = new object[1] {
                7
            };
            COMTest objCOMTest = (COMTest)Activator.CreateInstance(typeof(COMTest), objArray);

            Assert.AreEqual(7, objCOMTest.Id, "#A05");
        }
        public void CreateInstance_TypeBool()
        {
            COMTest objCOMTest = (COMTest)Activator.CreateInstance(typeof(COMTest), false);

            Assert.AreEqual("MonoTests.System.ActivatorTestInternal.COMTest", objCOMTest.GetType().ToString(), "#A04");
        }