public void SetPropertyValue_Sets_String_Property()
        {
            var foo = new Foo();
            foo.SetPropertyValue("StringProperty", "Hello Mvc!");

            Assert.IsNotNull(foo.StringProperty);
        }
        public void SetPropertyValue_Sets_Nullable_Property()
        {
            var foo = new Foo() { NullableInt32Property = 32 };
            foo.SetPropertyValue("NullableInt32Property", null);

            Assert.IsNull(foo.NullableInt32Property);
        }
        public void SetPropertyValue_Converts_String_To_Boolean_And_Sets_Value()
        {
            var foo = new Foo();
            foo.SetPropertyValue("BooleanProperty", "true");

            Assert.IsTrue(foo.BooleanProperty);
        }
        public void SetPropertyValue_Sets_Boolean_Property()
        {
            var foo = new Foo();
            foo.SetPropertyValue("BooleanProperty", true);

            Assert.IsTrue(foo.BooleanProperty);
        }
        public void SetPropertyValue_Assigns_Nullable_Value_To_Property()
        {
            var foo = new Foo();
            System.Nullable<Boolean> val = true;
            foo.SetPropertyValue("BooleanProperty", val);

            Assert.IsTrue(foo.BooleanProperty);
        }