public void Test_Convert_Int()
        {
            object value = EntityFormHelper.Convert(10, typeof(Int32));

            Assert.IsTrue(value is Int32, "The returned value isn't the correct type.");
            Assert.AreEqual(10, value, "The returned value didn't match.");
        }
        public void Test_Convert_String_FromInt()
        {
            object value = EntityFormHelper.Convert(10, typeof(string));

            Assert.IsTrue(value is string, "The returned value isn't the correct type.");
            Assert.AreEqual("10", value, "The returned value didn't match.");
        }
        public void Test_Convert_Enum_FromString()
        {
            object value = EntityFormHelper.Convert("One", typeof(TestEnum));

            Assert.IsTrue(Enum.IsDefined(typeof(TestEnum), value), "The returned value isn't the correct type.");
            Assert.AreEqual(TestEnum.One, value, "The returned value didn't match.");
        }