public void TypeAccessorBuilder_BuildSetterFromStringOnPrivateProperty()
        {
            var control = new PrivatePropertyObject("Peter");
            var experimental = new PrivatePropertyObject("Kyle");

            var builder = new TypeAccessorBuilder<PrivatePropertyObject>();
            var setter = builder.BuildSetter("Name");

            setter.SetterAction(ref experimental, "Peter");

            Assert.AreEqual(control.GetName(), experimental.GetName(), "Setter should assign the given value to the property.");
        }
        public void TypeAccessorBuilder_BuildSetterFromString()
        {
            var control = new SinglePropertyObject()
            {
                Id = 1
            };
            var experimental = new SinglePropertyObject()
            {
                Id = 1
            };

            var builder = new TypeAccessorBuilder<SinglePropertyObject>();
            var setter = builder.BuildSetter("Id");

            control.Id = 10;
            setter.SetterAction(ref experimental, 10);

            Assert.AreEqual(control.Id, experimental.Id, "Setter should assign the given value to the property.");
        }