public static void TestStaticMethod()
            {
                StaticDynamicMethodProxyHandler handler = fac.GetStaticMethodDelegate(typeof(TestClass).GetMethod("StaticReturnVoidMethod"));

                handler(null);

                object[] inputParams = new object[] { "str", 1, 3, "instr" };
                handler = fac.GetStaticMethodDelegate(typeof(TestClass).GetMethod("StaticReturnIntMethod"));
                object ret = handler(inputParams);

                Check.Assert(((int)inputParams[2]) == 2);
                Check.Assert(((string)inputParams[3]) == "refstr");
                Check.Assert(((int)ret) == 4);
            }