public void CreateObjectToJsonTest()
        {
            JsonSerializationMethods decorator = new JsonSerializationMethods();
            CodeMemberMethod method = decorator.CreateObjectToJson();

            Assert.IsNotNull(method);
            Assert.AreEqual(MemberAttributes.Public, method.Attributes);
            Assert.AreEqual(new CodeTypeReference(typeof(String)).BaseType, method.ReturnType.BaseType);
            Assert.AreEqual("SerializeObject", method.Name);
            Assert.IsNotNull(method.Parameters);
            Assert.AreEqual(1, method.Parameters.Count);
            Assert.AreEqual(new CodeTypeReference(typeof(object)).BaseType, method.Parameters[0].Type.BaseType);
            Assert.IsNotEmpty(method.Statements);
        }