public void GetterWorksForReferenceType()
        {
            // Arrange
            var mine     = new MyProps();
            var accessor = new FastPropertyAccessor <MyProps>(mine.GetType().GetProperty("StringProp"));

            mine.StringProp = "*4";

            // Assert
            Assert.Equal("*4", accessor.GetValue(mine));
        }
        public void GetterWorksForValueType()
        {
            // Arrange
            var mine     = new MyProps();
            var accessor = new FastPropertyAccessor <MyProps>(mine.GetType().GetProperty("IntProp"));

            mine.IntProp = 4;

            // Assert
            Assert.Equal(4, accessor.GetValue(mine));
        }